-
Notifications
You must be signed in to change notification settings - Fork 53
/
.eslintrc.json
87 lines (87 loc) · 2.82 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
80
81
82
83
84
85
86
87
{
"env": {
"browser": true,
"commonjs": true,
"es2021": true
},
"overrides": [
],
"parserOptions": {
"ecmaVersion": "latest"
},
"rules": {
"arrow-spacing": [1, { "before": true, "after": true }],
"block-spacing": [1, "always"],
"brace-style": [1, "1tbs", { "allowSingleLine": true }],
"comma-spacing": [1, { "before": false, "after": true }],
"comma-style": [1, "last"],
"dot-location": [1, "property"],
"eol-last": 1,
"eqeqeq": [1, "always", {"null": "ignore"}],
"key-spacing": [1, { "beforeColon": false, "afterColon": true }],
"no-cond-assign": 1,
"no-const-assign": 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-character-class": 1,
"no-labels": 1,
"no-ex-assign": 1,
"no-extra-boolean-cast": 1,
"no-extra-parens": [1, "functions"],
"no-fallthrough": 1,
"no-floating-decimal": 1,
"no-func-assign": 1,
"no-implied-eval": 1,
"no-inner-declarations": [1, "functions"],
"no-invalid-regexp": 1,
"no-irregular-whitespace": 1,
"no-label-var": 1,
"no-lone-blocks": 1,
"no-mixed-spaces-and-tabs": 1,
"no-multi-spaces": 1,
"no-multi-str": 1,
"no-multiple-empty-lines": [1, { "max": 2 }],
"no-native-reassign": 1,
"no-negated-in-lhs": 1,
"no-new": 1,
"no-new-func": 1,
"no-new-require": 1,
"no-new-wrappers": 1,
"no-obj-calls": 1,
"no-octal": 1,
"no-octal-escape": 1,
"no-return-assign": 1,
"no-self-compare": 1,
"no-sequences": 1,
"no-shadow-restricted-names": 1,
"no-spaced-func": 1,
"no-sparse-arrays": 1,
"no-throw-literal": 1,
"no-trailing-spaces": 1,
"no-undef-init": 1,
"no-unexpected-multiline": 1,
"no-unneeded-ternary": [1, { "defaultAssignment": false }],
"no-unreachable": 1,
"no-useless-call": 1,
"no-with": 1,
"one-var": [1, { "initialized": "never" }],
"quotes": [1, "single", "avoid-escape"],
"quote-props": [1, "as-needed"],
"semi": [1, "always"],
"semi-spacing": [1, { "before": false, "after": false }],
"keyword-spacing": [1, { "before": true, "after": true }],
"space-before-function-paren": [1, {
"anonymous": "never",
"named": "never",
"asyncArrow": "always"
}],
"space-in-parens": [1, "never"],
"space-infix-ops": 1,
"space-unary-ops": [1, { "words": true, "nonwords": false }],
"yoda": [1, "never"]
}
}