-
Notifications
You must be signed in to change notification settings - Fork 7
/
Copy path.eslintrc
55 lines (55 loc) · 2.14 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
{
"ecmaFeatures": {
"modules": true
},
"env": {
"es6": true
},
"extends": "eslint:recommended",
"parser": "babel-eslint",
"rules": {
"array-bracket-spacing" : [ 2, "always" ],
"brace-style" : [ 2, "stroustrup" ],
"comma-spacing" : 2,
"complexity" : [ 1, 4 ],
"consistent-return" : 1,
"curly" : [ 1, "all" ],
"eol-last" : 2,
"eqeqeq" : 2,
"func-style" : [ 2, "declaration" ],
"indent" : [ 2, 4, { "SwitchCase": 1 } ],
"key-spacing" : [ 2, { "align": "colon" } ],
"max-depth" : [ 1, 5 ],
"max-nested-callbacks" : [ 1, 3 ],
"max-params" : [ 1, 4 ],
"new-parens" : 2,
"no-class-assign" : 2,
"no-const-assign" : 2,
"no-dupe-class-members" : 2,
"no-else-return" : 2,
"no-extra-bind" : 2,
"no-implicit-coercion" : 2,
"no-lonely-if" : 2,
"no-multi-spaces" : 2,
"no-nested-ternary" : 2,
"no-spaced-func" : 2,
"no-this-before-super" : 2,
"no-underscore-dangle" : 0,
"no-unneeded-ternary" : 2,
"no-use-before-define" : 2,
"no-var" : 2,
"one-var" : [ 2, "never" ],
"prefer-arrow-callback" : 2,
"prefer-spread" : 2,
"require-yield" : 2,
"semi" : 2,
"space-after-keywords" : 2,
"space-before-blocks" : 2,
"space-before-function-paren": [ 2, { "anonymous": "always", "named": "never" } ],
"space-before-keywords" : 2,
"space-in-parens" : [ 2, "never" ],
"space-infix-ops" : 2,
"space-unary-ops" : 2,
"strict": 0
}
}