-
Notifications
You must be signed in to change notification settings - Fork 41
/
.eslintrc.json
76 lines (76 loc) · 1.93 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
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
{
"parser": "@typescript-eslint/parser",
"parserOptions": {
"ecmaVersion": "latest",
"sourceType": "module"
},
"plugins": [
"@typescript-eslint"
],
"rules": {
"no-multi-spaces": "warn",
"no-multiple-empty-lines": "warn",
"key-spacing": "warn",
"block-spacing": "warn",
"space-before-blocks": "warn",
"keyword-spacing": "warn",
"space-infix-ops": "warn",
"space-in-parens": "warn",
"comma-spacing": "warn",
"@typescript-eslint/key-spacing": "warn",
"eol-last": "warn",
"no-trailing-spaces": "warn",
"no-debugger": 0,
"prefer-const": 0,
"indent": [
"warn",
"tab",
{
"ignoredNodes": [
"PropertyDefinition" /* ESLint decorators issue. https://github.com/eslint/eslint/issues/15299#issuecomment-968099681*/
]
}
],
"semi": "warn",
"quotes": [
"warn",
"single"
],
"@typescript-eslint/member-delimiter-style": [
"warn",
{
"multiline": {
"delimiter": "semi",
"requireLast": true
},
"singleline": {
"delimiter": "semi",
"requireLast": false
}
}
],
"no-constant-condition": 0,
"@typescript-eslint/consistent-type-imports": 1,
"@typescript-eslint/no-this-alias": 0,
"@typescript-eslint/ban-ts-comment": 0,
"@typescript-eslint/no-non-null-assertion": 0,
"@typescript-eslint/no-var-requires": 0,
"@typescript-eslint/no-namespace": 0,
"@typescript-eslint/no-unused-vars": [
"warn",
{
"args": "all",
"argsIgnorePattern": "^_",
"caughtErrors": "all",
"caughtErrorsIgnorePattern": "^_",
"destructuredArrayIgnorePattern": "^_",
"varsIgnorePattern": "^_",
"ignoreRestSiblings": true
}
],
"no-useless-catch": 0,
"no-prototype-builtins": 0,
"no-useless-escape": 0,
"@typescript-eslint/no-explicit-any": 0
}
}