-
-
Notifications
You must be signed in to change notification settings - Fork 5
Expand file tree
/
Copy path.eslintrc
More file actions
31 lines (31 loc) · 561 Bytes
/
Copy path.eslintrc
File metadata and controls
31 lines (31 loc) · 561 Bytes
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
{
"extends": [
"eslint-config-egg"
],
"rules": {
"max-len": [
"error",
{ "code": 80 }
]
},
"overrides": [
{
"files": [
"**/*.ts"
],
"extends": [
"eslint-config-egg",
"eslint-config-egg/typescript",
"plugin:import/recommended",
"plugin:import/typescript"
],
"parserOptions": {
"project": "./tsconfig.json"
},
"rules": {
"@typescript-eslint/ban-types": "off",
"import/no-relative-packages": "error"
}
}
]
}