1 | {
|
2 | "env": {
|
3 | "mocha": true,
|
4 | "node": true
|
5 | },
|
6 | "rules": {
|
7 | /* Possible Errors */
|
8 | "no-extra-parens": 2,
|
9 | "valid-jsdoc": 2,
|
10 | /* Best Practices */
|
11 | "block-scoped-var": 2,
|
12 | "complexity": [1, 3],
|
13 | "default-case": 2,
|
14 | "dot-notation": [2],
|
15 | "guard-for-in": 2,
|
16 | "no-div-regex": 2,
|
17 | "no-else-return": 2,
|
18 | "no-eq-null": 2,
|
19 | "no-floating-decimal": 2,
|
20 | "no-process-env": 2,
|
21 | "no-self-compare": 2,
|
22 | "no-void": 2,
|
23 | "no-warning-comments": 2,
|
24 | "radix": 2,
|
25 | "vars-on-top": 2,
|
26 | "wrap-iife": 2,
|
27 | /* Variables */
|
28 | "no-catch-shadow": 2,
|
29 | /* Node.JS */
|
30 | "no-sync": 2,
|
31 | /* Stylistic Issues */
|
32 | "no-mixed-spaces-and-tabs": 2,
|
33 | "no-underscore-dangle": 2,
|
34 | "quotes": [1, "single", "avoid-escape"]
|
35 | }}
|