-
Notifications
You must be signed in to change notification settings - Fork 3
/
.eslintrc
44 lines (44 loc) · 1.06 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
34
35
36
37
38
39
40
41
42
43
44
{
"parser": "babel-eslint",
"globals": {
"$": true
},
"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,
"comma-dangle": [2, "never"],
"no-multiple-empty-lines": [2, {
"max": 2
}],
"handle-callback-err": [0],
"quotes": [0, "single"],
"eqeqeq": [2, "smart"],
"wrap-iife": [2, "inside"],
"indent": [2, 2],
"brace-style": [2, "1tbs"],
"spaced-line-comment": [0, "always", {
"exceptions": ["-", "+"]
}],
"space-before-function-parentheses": [2, {
"anonymous": "always",
"named": "never"
}],
"new-cap": 0
},
"ecmaFeatures": {
"modules": true
},
"env": {
"node": true,
"es6": true
}
}