-
Notifications
You must be signed in to change notification settings - Fork 0
/
.eslintrc
34 lines (34 loc) · 994 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
{
"ecmaFeatures": {
"blockBindings": true,
"forOf": true,
"destructuring": true,
"arrowFunctions": true,
"templateStrings": true,
"generators": true
},
"env": {
"node": true,
"es6": true
},
"extends": "airbnb/base",
"rules": {
"object-curly-spacing": [2, "never"],
"no-unused-vars": [1, {"vars": "all", "args": "after-used"}],
"space-before-blocks": [2, {"keywords": "always", "functions":"always"}],
"brace-style": [2, "stroustrup", { "allowSingleLine": true }],
"no-param-reassign": [2, {"props": false}],
"max-len": [2, 120, 4],
"eqeqeq": [1, "smart"],
"new-cap": [2, {"capIsNewExceptions": ["Router"]}],
"func-names": 0,
"object-shorthand": [0, "never"],
"wrap-iife": [2, "any"],
"no-loop-func": 0,
"no-console": 0,
"padded-blocks": 0
},
"globals" :{
"require": true
}
}