1 | {
|
2 | "env": {
|
3 | "node": true,
|
4 | "mocha": true
|
5 | },
|
6 |
|
7 | "rules": {
|
8 | // Possible errors
|
9 | "no-cond-assign": 0,
|
10 | "no-console": 0,
|
11 | "no-extra-parens": 2,
|
12 |
|
13 | // Best practices
|
14 | "block-scoped-var": 2,
|
15 | "eqeqeq": [2, "smart"],
|
16 | "no-else-return": 2,
|
17 | "no-floating-decimal": 2,
|
18 | "wrap-iife": [2, "inside"],
|
19 |
|
20 | // Variables
|
21 | "no-use-before-define": 1,
|
22 |
|
23 | // Stylistic issues
|
24 | "brace-style": 2,
|
25 | "camelcase": 2,
|
26 | "new-cap": 2,
|
27 | "no-lonely-if": 2,
|
28 | "no-underscore-dangle": 2,
|
29 | "space-after-keywords": 2,
|
30 | "space-in-brackets": 0,
|
31 | "space-infix-ops": 2,
|
32 | "one-var": 2,
|
33 | "quotes": [2, "single"]
|
34 | }
|
35 | } |
\ | No newline at end of file |