-
Notifications
You must be signed in to change notification settings - Fork 1
/
.eslintrc
47 lines (46 loc) · 1.18 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
{
"extends": "standard",
"env" : {
"browser" : true,
"mocha" : true
},
"globals" : {
"expect" : false,
"should" : false,
"sinon" : false
},
"rules": {
"semi" : [2, "never"],
"max-len": [2, 120, 2],
"array-bracket-spacing": 0,
"camelcase": 0,
"comma-dangle" : [2, "always-multiline"],
"complexity" : [2, 6],
"consistent-return": 2,
"curly" : [2, "multi-line", "consistent"],
"dot-location": [2, "property"],
"dot-notation": 2,
"eqeqeq": [2, "allow-null"],
"guard-for-in": 2,
"jsx-boolean-value" : 0,
"jsx-quotes" : [2, "prefer-single"],
"key-spacing" : 0,
"max-depth" : [2, 3],
"max-params" : [2, 3],
"max-statements" : [2, 15],
"no-case-declarations": 2,
"no-else-return" : 2,
"no-eval": 2,
"no-extend-native": 2,
"no-fallthrough": 2,
"no-implied-eval": 2,
"no-loop-func": 2,
"no-magic-numbers": [2, {ignore: [0, 1, -1]}],
"no-multi-spaces" : 2,
"no-native-reassign": 2,
"no-shadow": 2,
"no-unexpected-multiline": 2,
"one-var" : [2, "never"],
"quotes" : [2, "single", "avoid-escape"],
}
}