forked from hugihlynsson/flugvaktin
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.eslintrc
30 lines (30 loc) · 804 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
{
"env": {
"node": true,
"mocha": true
},
"ecmaFeatures": {
"blockBindings": true,
"classes": true,
"templateStrings": true
},
"rules": {
"comma-dangle": [2, "always-multiline"],
"no-alert": 0,
"no-else-return": 1,
"strict": [2, "global"],
"brace-style": [1, "1tbs"],
"comma-style": [1, "last"],
"no-lonely-if": 1,
"no-var": 2,
"no-multi-spaces": [1, { "exceptions": { "VariableDeclarator": true } }],
"no-mixed-requires": 2,
"quotes": [1, "single", "avoid-escape"],
"space-before-function-parentheses": [1, "never"],
"space-after-keywords": [1, "always"],
"space-before-blocks": [1, "always"],
"space-in-brackets": [1, "never"],
"space-in-parens": [1, "never"],
"spaced-line-comment": [1, "always"]
}
}