-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.eslintrc
44 lines (44 loc) · 800 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
42
43
44
{
"extends": "airbnb/base",
"ecmaFeatures": {
"globalReturn": true,
"modules": true
},
"env": {
"es6": true,
"node": true,
"mocha": true
},
"globals": {
"document": false,
"escape": false,
"navigator": false,
"unescape": false,
"window": false,
"describe": true,
"before": true,
"it": true,
"expect": true,
"sinon": true
},
"parser": "babel-eslint",
"plugins": [],
"rules": {
"react/no-multi-comp": 0,
"comma-dangle": 0,
// not sure why airbnb turned this on. gross!
"indent": [
2,
2,
{
"SwitchCase": 1
}
],
"no-console": 0,
"no-alert": 0,
"no-use-before-define": 0,
"spaced-comment": 0,
"consistent-return": 0,
"no-unused-expressions": 0
}
}