-
Notifications
You must be signed in to change notification settings - Fork 4
/
.eslintrc
38 lines (38 loc) · 946 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
{
"extends": "airbnb",
"env": {
"node": true
},
"ecmaFeatures": {
"arrowFunctions": true,
"blockBindings": true,
"classes": true,
"defaultParams": true,
"destructuring": true,
"forOf": true,
"generators": false,
"modules": true,
"experimentalObjectRestSpread": true,
"objectLiteralComputedProperties": true,
"objectLiteralDuplicateProperties": false,
"objectLiteralShorthandMethods": true,
"objectLiteralShorthandProperties": true,
"restParams": true,
"spread": true,
"superInFunctions": true,
"templateStrings": true,
"jsx": true
},
"rules": {
// Allow console methods, which get removed during build process
"no-console": 0,
"no-use-before-define": 0,
"arrow-body-style": 0,
"new-cap": 0,
// triple equals is required except for when comparing with null
"eqeqeq": [1, "allow-null"]
},
"globals": {
"__DEV__": true
}
}