-
Notifications
You must be signed in to change notification settings - Fork 0
/
.eslintrc.json
80 lines (79 loc) · 2.45 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
77
78
79
{
"env": {
"node": true,
"es2022": true,
"mocha": true
},
"parserOptions": {
"sourceType": "module"
},
"extends": "eslint:recommended",
"rules": {
"no-console": 0,
"no-class-assign": 1,
"no-cond-assign": 1,
"no-const-assign": 1,
"no-constant-condition": [1, {"checkLoops": false}],
"no-constant-binary-expression": 1,
"no-control-regex": 1,
"no-debugger": 1,
"no-delete-var": 1,
"no-dupe-args": 1,
"no-dupe-class-members": 1,
"no-dupe-keys": 1,
"no-duplicate-case": 1,
"no-empty": 1,
"no-empty-character-class": 1,
"no-empty-pattern": 1,
"no-eval": 1,
"no-ex-assign": 1,
"no-extra-boolean-cast": 1,
"no-extra-semi": 1,
"no-fallthrough": 1,
"no-func-assign": 1,
"no-implicit-globals": 1,
"no-implied-eval": 1,
"no-inner-declarations": 1,
"no-invalid-regexp": 1,
"no-invalid-this": 1,
"no-irregular-whitespace": 1,
"no-mixed-spaces-and-tabs": 1,
"no-native-reassign": 1,
"no-negated-in-lhs": 1,
"no-obj-calls": 1,
"no-octal": 1,
"no-redeclare": 1,
"no-regex-spaces": 1,
"no-sparse-arrays": 1,
"no-trailing-spaces": 1,
"no-this-before-super": 1,
"no-throw-literal": 1,
"no-undef": 1,
"no-undef-init": 1,
"no-unexpected-multiline": 1,
"no-unreachable": 1,
"no-unused-vars": [1, {"argsIgnorePattern":"^ignored"}],
"no-useless-call": 1,
"no-useless-computed-key": 1,
"no-useless-concat": 1,
"no-useless-constructor": 1,
"no-useless-escape": 1,
"no-useless-rename": 1,
"block-scoped-var": 1,
"callback-return": 1,
"complexity": ["error", 22],
"constructor-super": 1,
"default-case": 1,
"handle-callback-err": 1,
"require-yield": 1,
"semi": 1,
"use-isnan": 1,
"valid-typeof": 1,
"arrow-spacing": [1, {"before":true, "after":true}],
"func-call-spacing": [1, "never"],
"semi-spacing": [1, {"before": false, "after": true}],
"space-before-function-paren": [1, {"anonymous": "never", "named": "never", "asyncArrow": "always"}],
"brace-style": [1, "1tbs", {"allowSingleLine": true}],
"quotes": [1, "single", { "avoidEscape": true }]
}
}