-
Notifications
You must be signed in to change notification settings - Fork 26
/
.eslintrc
27 lines (27 loc) · 886 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
{
"extends": "eslint:recommended",
"parser": "babel-eslint",
"env": {
"node": true
},
"rules": {
"strict": [2, "never"], // ES Modules are implicitly strict
"no-use-before-define": [2, "nofunc"], // allow referencing function declarations in the whole scope where they're defined
"no-var": 2,
"curly": 2,
"default-case": 2,
"no-else-return": 2,
"no-param-reassign": 2,
"indent": [2, 4],
"brace-style": 2,
"comma-style": 2,
"no-multiple-empty-lines": [2, { "max": 2 }],
"quotes": [2, "single"],
"spaced-comment": [2, "always", { "exceptions": ["/"] }],
"no-loop-func": 0, // this is more annoying than useful when properly using ES2015 block bindings
"no-underscore-dangle": 0,
"no-console": 0,
"no-alert": 0,
"no-shadow": 0
}
}