forked from rocicorp/mono
-
Notifications
You must be signed in to change notification settings - Fork 0
/
eslint-config.json
52 lines (52 loc) · 1.76 KB
/
eslint-config.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
{
"extends": ["@rocicorp/eslint-config"],
"rules": {
"no-restricted-imports": [
"error",
{
"patterns": [
{
"group": [
"btree/*",
"datadog/*",
"replicache/*",
"replicache-perf/*",
"shared/*",
"zero/*",
"zero-cache/*",
"zero-client/*",
"zero-integration-test/*",
"zero-protocol/*",
"zero-react/*",
"zql/*",
"zqlite/*"
],
"message": "Use relative imports instead"
}
],
"paths": [
{"name": "btree", "message": "Use relative imports instead"},
{"name": "datadog", "message": "Use relative imports instead"},
{"name": "replicache", "message": "Use relative imports instead"},
{
"name": "replicache-perf",
"message": "Use relative imports instead"
},
{"name": "shared", "message": "Use relative imports instead"},
{"name": "zero", "message": "Use relative imports instead"},
{"name": "zero-cache", "message": "Use relative imports instead"},
{"name": "zero-client", "message": "Use relative imports instead"},
{
"name": "zero-integration-test",
"message": "Use relative imports instead"
},
{"name": "zero-protocol", "message": "Use relative imports instead"},
{"name": "zero-react", "message": "Use relative imports instead"},
{"name": "zql", "message": "Use relative imports instead"},
{"name": "zqlite", "message": "Use relative imports instead"}
]
// "message": "Use relative imports instead"
}
]
}
}