-
Notifications
You must be signed in to change notification settings - Fork 63
/
.eslintrc
58 lines (58 loc) · 1.48 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
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
{
"env": {
"node": true,
"es6": true
},
"parserOptions": {
"ecmaVersion": 6,
"sourceType": "module"
},
"rules": {
"eqeqeq": 0,
"no-var": 2,
"prefer-const": 2,
"no-shadow": 2,
"no-shadow-restricted-names": 2,
"no-use-before-define": 2,
"comma-dangle": [2, "never"],
"no-cond-assign": [2, "always"],
"no-constant-condition": 1,
"no-dupe-keys": 2,
"no-duplicate-case": 2,
"no-ex-assign": 2,
"no-extra-boolean-cast": 1,
"no-extra-semi": 2,
"no-func-assign": 2,
"no-irregular-whitespace": 2,
"default-case": 2,
"guard-for-in": 2,
"no-floating-decimal": 2,
"no-self-compare": 2,
"no-sequences": 2,
"no-throw-literal": 2,
"radix": 2,
"quotes": [2, "single", "avoid-escape"],
"indent": [2, 2, { "SwitchCase": 1 }],
"brace-style": [2, "1tbs", { "allowSingleLine": true }],
"comma-style": [2, "last"],
"no-multiple-empty-lines": 2,
"no-nested-ternary": 2,
"one-var": [2, "never"],
"padded-blocks": [2, "never"],
"keyword-spacing": 2,
"no-console": 0,
"space-before-blocks": 2,
"space-before-function-paren": [2, "never"],
"spaced-comment": 2,
"valid-jsdoc": [2, { "requireReturn": false }],
"no-unreachable": 2,
"no-unexpected-multiline": 2,
"no-else-return": 2,
"constructor-super": 2,
"no-this-before-super": 2,
"object-shorthand": [2, "always"],
"no-loop-func": 0,
"no-param-reassign": 0,
"no-empty": 0
}
}