-
Notifications
You must be signed in to change notification settings - Fork 0
/
.eslintrc
37 lines (37 loc) · 903 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
{
"extends": ["airbnb-base"],
"parser": "babel-eslint",
"parserOptions": {
"ecmaFeatures": {
"experimentalObjectRestSpread": true
}
},
"env": {
"node": true,
"es6": true,
"browser": true,
"jest": true
},
"globals": {
"__DEV__": true,
"__PROD__": true,
"__SERVER__": true,
"__BROWSER__": true
},
"rules": {
"comma-dangle": 0,
"no-underscore-dangle": 0,
"no-shadow": 0,
"no-use-before-define": [2, "nofunc"],
"indent": [2, 4, {"SwitchCase": 1}],
"id-length": 0,
"max-len": [2, 255],
"arrow-body-style": 0,
"no-case-declarations": 0,
"linebreak-style": "off",
"no-plusplus": 0,
"no-nested-ternary": 0,
"consistent-return": 1,
"import/no-named-as-default": 1
}
}