-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy path.eslintrc
40 lines (40 loc) · 1.24 KB
/
.eslintrc
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
{
"rules": {
"array-bracket-spacing": [2, "never"],
"camelcase": 2,
"comma-dangle": [2, "never"],
"comma-spacing": [2, { "before": false, "after": true }],
"comma-style": [2, "last"],
"computed-property-spacing": [2, "never"],
"default-case": 2,
"dot-notation": 2,
"eol-last": [2, "always"],
"eqeqeq": [2, "always"],
"func-call-spacing": [2, "never"],
"indent": [2, 4],
"key-spacing": [2, { "beforeColon": false }],
"keyword-spacing": [2, { "before": true }],
"linebreak-style": [2, "unix"],
"max-len": [2, 100],
"no-console": 2,
"no-debugger": 2,
"no-else-return": 2,
"no-extra-semi": 2,
"no-fallthrough": 2,
"no-lonely-if": 2,
"no-multiple-empty-lines": [2, {"max": 2, "maxEOF": 1}],
"no-restricted-globals": [2, "event"],
"no-trailing-spaces": 2,
"no-unreachable": 2,
"no-unused-vars": 2,
"quotes": [2, "single"],
"radix": 2,
"semi": [2, "always"],
"semi-spacing": [2, { "before": false, "after": true }],
"strict": [0, "global"],
"use-isnan": 2
},
"env": {
"node": true
}
}