-
Notifications
You must be signed in to change notification settings - Fork 2
/
.eslintrc
36 lines (36 loc) · 959 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
35
36
{
"eslint": "reccommended",
"env": {
"node": true
},
"rules": {
"brace-style": [2, "1tbs"],
"comma-style": [2, "last"],
"comma-dangle": [2, "never"],
"no-irregular-whitespace": 2,
"no-sparse-arrays": 2,
"no-useless-call": 2,
"no-use-before-define": [2, "nofunc"],
"no-labels": 2,
"no-redeclare": 2,
"curly": [2, "multi-line"],
"default-case": 2,
"no-delete-var": 2,
"no-undef": 2,
"no-floating-decimal": 2,
"no-nested-ternary": 2,
"no-unused-vars": [2, {"vars": "all", "args": "none"}],
"quotes": [1, "single", "avoid-escape"],
"radix": 2,
"space-after-keywords": [2, "always"],
"space-before-blocks": 2,
"space-before-function-paren": [2, "never"],
"spaced-comment": [2, "always", { "exceptions": ["-"]}],
"strict": [2, "global"],
"valid-jsdoc": [0, { "prefer": { "return": "returns"}}]
},
"globals": {
"describe": true,
"it": true
}
}