-
Notifications
You must be signed in to change notification settings - Fork 0
/
.eslintrc
75 lines (75 loc) · 1.59 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
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
{
"rules": {
"comma-dangle": [
2,
"always"
],
"indent": [
2,
2,
{"SwitchCase": 1}
],
"max-nested-callbacks": [
2,
3
],
"no-magic-numbers": [
1,
{ "ignore": [0,1,-1], "ignoreArrayIndexes": true }
],
"no-multiple-empty-lines": [
2,
{"max": 1}
],
"one-var": [
2,
"always"
],
"quotes": [
2,
"double"
],
"semi": [
2,
"always"
],
"yoda": [
2,
"never"
],
"block-scoped-var": 2,
"camelcase": 1,
"consistent-return": 2,
"curly": 2,
"default-case": 2,
"eqeqeq": 2,
"guard-for-in": 2,
"no-alert": 2,
"no-else-return": 2,
"no-empty-function": 2,
"no-eval": 2,
"no-eq-null": 2,
"no-extend-native": 1,
"no-extra-bind": 2,
"no-loop-func": 2,
"no-multi-spaces": 2,
"no-new": 2,
"no-new-func": 2,
"no-new-wrappers": 2,
"no-unused-expressions": 2,
"no-useless-concat": 2,
"no-undef-init": 2,
"no-underscore-dangle": 2,
"no-param-reassign": 2,
"no-self-compare": 2,
"no-void": 2,
"no-with": 2,
"strict": 2,
"vars-on-top": 2
},
"env": {
"es6": true,
"browser": true
},
"extends": "eslint:recommended"
}