-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy path.eslintrc
39 lines (39 loc) · 926 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
{
"extends": "eslint:recommended",
"globals": {
"describe": true,
"it": true
},
"ecmaFeatures": {
"arrowFunctions" : true,
"blockBindings": true,
"classes": true,
"defaultParams": true,
"destructuring": true,
"modules": true,
"objectLiteralComputedProperties": true,
"restParams": true,
"templateStrings": true
},
"env": {
"browser": true,
"node": true
},
"rules": {
"curly": [1, "multi"],
"dot-notation": 0,
"eqeqeq": [1, "smart"],
"new-cap": 1,
"no-cond-assign": 1,
"no-console": 0,
"no-constant-condition": 0,
"no-empty": 1,
"no-extra-semi": 1,
"no-multi-spaces": 1,
"no-new-wrappers": 1,
"no-shadow": [1, {"builtinGlobals": true, "hoist": "functions"}],
"no-unused-vars": [1, {"vars": "all", "args": "none"}],
"no-use-before-define": [2, "nofunc"],
"quotes": [1, "single", "avoid-escape"]
}
}