-
Notifications
You must be signed in to change notification settings - Fork 0
/
.eslintrc
40 lines (40 loc) · 895 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
{
"parser": "babel-eslint",
"rules": {
"indent": [
2,
2
],
"quotes": [
2,
"single"
],
"linebreak-style": [
2,
"unix"
],
"semi": [
2,
"always"
],
"no-shadow" : 0,
"no-cond-assign" : 2,
"space-after-keywords" : 2,
"key-spacing" : [2, {"align": "colon"}],
"no-multiple-empty-lines" : [2, {"max": 2}],
"wrap-iife" : [2, "inside"],
"brace-style" : 2,
"spaced-comment" : [2, "always", {"exceptions":["-","+"]}],
"space-before-blocks" : 2,
"constructor-super" : 2,
"no-this-before-super" : 2,
"no-var" : 2,
"object-shorthand" : 2,
"prefer-const" : 2
},
"env": {
"es6": true,
"node": true
},
"extends": "eslint:recommended"
}