-
Notifications
You must be signed in to change notification settings - Fork 8
/
Copy path.eslintrc
56 lines (56 loc) · 1.17 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
{
"env": {
"node": true,
"browser": false
},
"global": [
"after",
"afterEach",
"before",
"beforeEach",
"describe",
"it"
],
"rules": {
"brace-style": 2,
"comma-style": [2, "last"],
"consistent-return": 0,
"curly": 0,
"eol-last": 2,
"eqeqeq": 2,
"camelcase": 0,
"dot-notation": 2,
"func-names": 0,
"guard-for-in": 2,
"max-len": [2, 90],
"max-nested-callbacks": [2, 3],
"max-params": [2, 5],
"new-cap": 2,
"no-comma-dangle": 0,
"no-console": 1,
"no-else-return": 2,
"no-floating-decimal": 2,
"no-lonely-if": 2,
"no-mixed-requires": 2,
"no-multiple-empty-lines": 2,
"no-new": 2,
"no-shadow": 1,
"no-undef": 2,
"no-underscore-dangle": 0,
"no-unused-vars": 2,
"no-use-before-define": 0,
"padded-blocks": [2, "never"],
"radix": 2,
"semi": [2, "never"],
"space-after-function-name": 2,
"space-after-keywords": [2, "never"],
"space-before-blocks": 2,
"space-infix-ops": 2,
"spaced-line-comment": 2,
"space-return-throw-case": 2,
"space-unary-ops": 2,
"strict": 0,
"quotes": [0, "single"],
"wrap-iife": 2
}
}