-
Notifications
You must be signed in to change notification settings - Fork 31
/
.eslintrc
50 lines (50 loc) · 1.15 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
{
"parser": "babel-eslint",
"ecmaFeatures": {
"jsx": true
},
"env": {
"browser": true,
"node": true
},
"globals" : {
"require" : false,
"module" : false,
"window" : false,
"document" : false,
"jest" : false,
"describe" : false,
"it" : false,
"expect" : false,
"beforeEach": false,
"afterEach" : false,
"before" : false,
"after" : false,
"Promise" : false,
"confirm" : false,
"context" : false,
"mixpanel" : false
},
"rules": {
"quotes": [1, "single"],
"eol-last": [0],
"no-mixed-requires": [0],
"strict": [1, "never"],
"no-unused-vars": [0, {"vars": "local", "args": "after-used"}],
"semi": [1, "always"],
"no-extra-semi": [1],
"curly": [1, "multi-line"],
"camelcase": [0, {"properties": "always"}],
"comma-dangle": [0],
"no-trailing-spaces": [0],
"no-underscore-dangle": [0],
"no-multi-spaces": [1],
"new-cap": [0],
"no-unreachable": [1],
"no-path-concat": [0],
"no-unused-expressions": [0],
"no-alert": [0],
"no-shadow": [1],
"handle-callback-err": [1]
}
}