-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy path.eslintrc.json
58 lines (58 loc) · 1.29 KB
/
.eslintrc.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
53
54
55
56
57
58
{
"root": true,
"extends": "@frachtwerk/eslint-config-essencium",
"parserOptions": {
"project": ["./tsconfig.json"]
},
"plugins": [
"@typescript-eslint",
"prettier",
"@nrwl/nx",
"simple-import-sort"
],
"rules": {
"@nrwl/nx/enforce-module-boundaries": [
"error",
{
"allow": [],
"depConstraints": [
{
"sourceTag": "scope:app",
"onlyDependOnLibsWithTags": [
"scope:app",
"scope:lib",
"scope:types"
]
},
{
"sourceTag": "scope:lib",
"onlyDependOnLibsWithTags": ["scope:lib", "scope:types"]
},
{
"sourceTag": "scope:types",
"onlyDependOnLibsWithTags": []
},
{
"sourceTag": "scope:eslint-config",
"onlyDependOnLibsWithTags": []
},
{
"sourceTag": "scope:prettier-config",
"onlyDependOnLibsWithTags": []
}
]
}
],
"import/no-extraneous-dependencies": [
"error",
{
"devDependencies": [
"**/*.config.js",
"**/*.config.ts",
"./scripts/sync-versions.ts",
"./scripts/seed-db.ts"
]
}
]
}
}