-
Notifications
You must be signed in to change notification settings - Fork 1
/
.eslintrc
40 lines (40 loc) · 918 Bytes
/
.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
{
"parser": "babel-eslint",
"env": {
"node": true,
"browser": true
},
"rules": {
"brace-style": [2, "1tbs"],
"camelcase": true,
"comma-style": [2, "last"],
"complexity": [1, 4],
"default-case": 2,
"func-style": 0,
"guard-for-in": 2,
"handle-callback-err": 2,
"no-bitwise": 2,
"no-div-regex": 2,
"no-extra-parens": 2,
"no-floating-decimal": 2,
"no-lonely-if": 2,
"no-multiple-empty-lines": [2, {
"max": 1
}],
"no-nested-ternary": 2,
"no-new-require": 2,
"no-plusplus": 2,
"no-process-env": 2,
"no-self-compare": 2,
"no-shadow": 0,
"no-undefined": 2,
"no-use-before-define": [2, "nofunc"],
"no-void": 2,
"quotes": [2, "single"],
"radix": 2,
"space-after-keywords": [2, "always"],
"space-before-blocks": 2,
"spaced-line-comment": [2, "always"],
"wrap-iife": [2, "inside"]
}
}