-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.eslintrc.json
52 lines (52 loc) · 1.13 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
{
"extends": [
"airbnb-base",
"plugin:import/errors",
"plugin:import/warnings",
"plugin:import/typescript",
"plugin:@typescript-eslint/recommended"
],
"plugins": [
"@typescript-eslint"
],
"root": true,
"globals": {},
"rules": {
"import/extensions": "off",
"import/prefer-default-export": "off",
"import/no-unresolved": [2, {"commonjs": true, "amd": true}],
"max-len": ["error", {
"code": 150,
"ignoreComments": true,
"ignoreTrailingComments": true,
"ignoreUrls": true,
"ignoreStrings": true,
"ignoreTemplateLiterals": true
}],
"no-underscore-dangle": "off",
"radix": "warn",
"@typescript-eslint/interface-name-prefix": "off"
},
"parser": "@typescript-eslint/parser",
"env": {
"browser": true,
"node": true
},
"overrides": [],
"settings": {
"import/resolver": {
"alias": {
"map": [
["@models", "./models"],
["@services", "./services"],
["@src", "./src"],
["@tests", "./tests"]
],
"extensions": [
".ts",
".js"
]
}
}
}
}