1 | {
|
2 | "env": {
|
3 | "node": true
|
4 | },
|
5 |
|
6 | "globals": {
|
7 | "describe": true,
|
8 | "beforeEach": true,
|
9 | "it": true
|
10 | },
|
11 |
|
12 | "rules": {
|
13 | "brace-style": [1, "1tbs"],
|
14 | "curly": [0, "multi"],
|
15 | "eqeqeq": [1, "smart"],
|
16 | "max-depth": [1, 4],
|
17 | "max-params": [1, 5],
|
18 | "new-cap": 2,
|
19 | "new-parens": 0,
|
20 | "no-constant-condition": 0,
|
21 | "no-div-regex": 1,
|
22 | "no-else-return": 1,
|
23 | "no-extra-parens": 1,
|
24 | "no-floating-decimal": 2,
|
25 | "no-inner-declarations": 2,
|
26 | "no-lonely-if": 1,
|
27 | "no-multi-str": 0,
|
28 | "no-nested-ternary": 2,
|
29 | "no-new-object": 0,
|
30 | "no-new-func": 0,
|
31 | "no-shadow": 0,
|
32 | "no-underscore-dangle": 0,
|
33 | "no-unused-vars": 2,
|
34 | "quotes": [2, "single", "avoid-escape"],
|
35 | "radix": 2,
|
36 | "keyword-spacing": "error",
|
37 | "object-curly-spacing": ["error", "never"],
|
38 | "array-bracket-spacing": ["error", "never"],
|
39 | "strict": 2,
|
40 | "wrap-iife": 2
|
41 | }
|
42 | }
|