-
Notifications
You must be signed in to change notification settings - Fork 87
/
Copy path.eslintrc.json
35 lines (35 loc) · 1.12 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
{
"extends": ["standard-with-typescript", "plugin:boundaries/recommended"],
"parserOptions": {
"project": "./tsconfig.eslint.json"
},
"rules": {
"@typescript-eslint/strict-boolean-expressions": "off",
"@typescript-eslint/restrict-plus-operands": "off",
"boundaries/entry-point": "off",
"boundaries/allowed-types": [2, {
"allow": {
"entities": ["entities"],
"usecases": ["entities", "usecases"],
"adapters": ["entities", "usecases", "adapters"],
"external": ["entities", "usecases", "adapters", "external"],
"main": ["entities", "usecases", "adapters", "external", "main"],
"shared": ["shared"]
}
}
]
},
"plugins": ["boundaries"],
"settings": {
"boundaries/types": ["entities", "usecases", "adapters", "external", "main", "shared"],
"boundaries/ignore": ["src/**/*.spec.ts", "src/**/*.test.ts"],
"boundaries/alias": {
"entities": "src/entities",
"usecases": "src/usecases",
"adapters": "src/adapters",
"external": "src/external",
"main": "src/main",
"shared": "src/shared"
}
}
}