-
Notifications
You must be signed in to change notification settings - Fork 0
/
.eslintrc
34 lines (34 loc) · 844 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
{
"ecmaFeatures": {
"modules": 2
},
"env": {
"es6": 2,
"mocha": 2
},
"rules": {
"brace-style": 2,
"comma-style": 2,
"complexity": [2, 10],
"guard-for-in": 2,
"indent": 2,
"max-len": [2, 80, 4],
"no-floating-decimal": 2,
"no-lonely-if": 2,
"no-multiple-empty-lines": [1, {max: 2}],
"no-nested-ternary": 2,
"no-undef": 0,
"no-warning-comments": [1, {"terms": ["todo", "fixme"], "location": "anywhere"}],
"padded-blocks": [2, "never"],
"quotes": "single",
"radix": 2,
"space-after-keywords": [2, "always"],
"space-before-blocks": [2, "always"],
"space-before-function-parentheses": [2, "never"],
"space-in-brackets": [2, "never"],
"space-in-parens": [2, "never"],
"valid-jsdoc": 2,
"vars-on-top": 2,
"wrap-iife": [2, "inside"]
}
}