-
Notifications
You must be signed in to change notification settings - Fork 0
/
.eslintrc
33 lines (33 loc) · 1.31 KB
/
.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
{
"parser": "babel-eslint",
"rules" : {
"strict" : 0,
"no-underscore-dangle" : 0,
"no-multi-spaces" : 0,
"key-spacing" : 0,
"no-shadow" : 0,
"consistent-return" : 2,
"no-use-before-define" : 2,
"new-parens" : 2,
"no-cond-assign" : 2,
"space-after-keywords" : 2,
"space-infix-ops" : 2,
"key-spacing" : [2, {"align": "colon"}],
"comma-dangle" : [2, "never"],
"no-multiple-empty-lines" : [2, {"max": 2}],
"quotes" : [2, "single"],
"eqeqeq" : [2, "smart"],
"wrap-iife" : [2, "inside"],
"indent" : [2, 2],
"brace-style" : [2, "1tbs"],
"spaced-line-comment" : [2, "always", {"exceptions":["-","+"]}],
"space-before-function-parentheses": [2, {
"anonymous" : "always",
"named" : "never"
}]
},
"env": {
"node": true,
"es6" : true
}
}