-
Notifications
You must be signed in to change notification settings - Fork 4
/
eslint.json
37 lines (37 loc) · 1006 Bytes
/
eslint.json
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
{
"env": {
"node": true,
"mocha": true
},
"rules": {
"strict": 0,
"quotes": [2, "single", "avoid-escape"],
"no-else-return": 2,
"no-extra-parens": 2,
"no-floating-decimal": 2,
"no-self-compare": 2,
"no-delete-var": 2,
"indent": [2, "tab"],
"brace-style": [2, "1tbs", {"allowSingleLine": false}],
"comma-style": [2, "last"],
"consistent-this": [2, "self"],
"func-style": [2, "expression"],
"new-cap": [1],
"no-lonely-if": 2,
"no-multiple-empty-lines": [2, {"max": 1}],
"spaced-line-comment": 2,
"space-unary-ops": [2, {"words": true, "nonwords": false}],
"space-infix-ops": 2,
"space-in-parens": [2, "never"],
"space-before-function-parentheses": [2, {"anonymous": "always", "named": "never"}],
"space-before-blocks": [2, "always"],
"space-after-keywords": [2, "always"],
"semi-spacing": [2, {"before": false, "after": true}],
"semi": [2, "always"],
"quote-props": [2, "as-needed"],
"no-trailing-spaces": 2
},
"globals": {
"Promise": true
}
}