-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy patheslintconfig.json
46 lines (46 loc) · 1.03 KB
/
eslintconfig.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
{
"root": true,
"env": {
"node": true,
"commonjs": false
},
"extends": [
"eslint:recommended",
"plugin:@typescript-eslint/eslint-recommended",
"plugin:@typescript-eslint/recommended",
"prettier",
"plugin:import/recommended",
"plugin:import/typescript"
],
"parser": "@typescript-eslint/parser",
"parserOptions": {
"project": ["tsconfig.json"]
},
"plugins": ["@typescript-eslint"],
"rules": {
"import/no-unresolved": 0,
"@typescript-eslint/no-explicit-any": 0,
"@typescript-eslint/no-non-null-assertion": 0,
"no-unused-vars": 0,
"@typescript-eslint/ban-ts-comment": [
2,
{
"ts-expect-error": "allow-with-description"
}
],
"@typescript-eslint/no-unused-vars": [
1,
{
"argsIgnorePattern": "^_",
"varsIgnorePattern": "^_",
"caughtErrorsIgnorePattern": "^_"
}
]
},
"settings": {
"import/extensions": [".js", ".ts"],
"typescript": true,
"node": true
},
"ignorePatterns": ["**/dist/*"]
}