forked from NERC-CEH/nyph-app
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.eslintrc
41 lines (39 loc) · 786 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
{
"env": {
"browser": true
},
"extends": "airbnb/base",
"rules": {
"no-console": 0,
"no-plusplus": 0,
"no-mutable-exports": 0,
"no-underscore-dangle": 0,
"no-unused-expressions": [2, {
"allowShortCircuit": true, // eg. a || a()
"allowTernary": true // eg. a ? b() : c()
}],
"new-cap": ["error", {
"capIsNewExceptions": ["Log", "UUID"]
}]
},
"globals": {
"before": true,
"beforeEach": true,
"after": true,
"afterEach": true,
"describe": true,
"it": true,
"expect": true,
"parseInt": true,
"cordova": true,
"StatusBar": true,
"splashscreen": true
},
"settings": {
"import/resolver": {
"webpack": {
"config": "config/webpack.common.js"
}
}
}
}