-
Notifications
You must be signed in to change notification settings - Fork 0
/
.eslintrc
41 lines (40 loc) · 872 Bytes
/
.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
{
"extends" : [
"standard"
],
"plugins" : [
],
"env" : {
"es6": true,
"browser" : true
},
"globals" : {
"Action" : false,
"__DEV__" : false,
"__PROD__" : false,
"__DEBUG__" : false,
"__DEBUG_NEW_WINDOW__" : false,
"__BASENAME__" : false
},
"parserOptions": {
"ecmaFeatures": {
"jsx": true,
"experimentalObjectRestSpread": true,
"modules": true,
}
},
"rules": {
"semi" : [2, "always"],
"space-before-function-paren": [2, "never"],
"space-infix-ops": 0,
"comma-dangle" : [2, "always-multiline"],
"max-len": [2, 120, 2],
"keyword-spacing": [2, {"overrides": {
"if": {"after": false},
"for": {"after": false},
"while": {"after": false},
"switch": {"after": false},
"catch": {"after": false}
}}]
}
}