1 | {
|
2 | "extends": "eslint:recommended",
|
3 | "root": true,
|
4 | "rules": {
|
5 | "curly": [2, "multi-line"],
|
6 | "no-console": 0,
|
7 | "no-path-concat": 2,
|
8 | "handle-callback-err": 2,
|
9 | "no-use-before-define": [2, "nofunc"],
|
10 | "no-shadow-restricted-names": 2,
|
11 | "block-scoped-var": 2,
|
12 | "dot-notation": 2,
|
13 | "eqeqeq": [2, "allow-null"],
|
14 | "no-else-return": 1,
|
15 | "no-extend-native": 2,
|
16 | "no-extra-bind": 2,
|
17 | "no-implied-eval": 2,
|
18 | "no-lone-blocks": 2,
|
19 | "no-loop-func": 2,
|
20 | "no-multi-spaces": 2,
|
21 | "no-multi-str": 2,
|
22 | "no-native-reassign": 2,
|
23 | "no-new-wrappers": 2,
|
24 | "no-redeclare": 2,
|
25 | "no-return-assign": 2,
|
26 | "no-throw-literal": 2,
|
27 | "no-unused-expressions": [2, {
|
28 | "allowShortCircuit": true,
|
29 | "allowTernary": true
|
30 | }],
|
31 | "no-useless-call": 2,
|
32 | "no-useless-concat": 2,
|
33 | "no-with": 2,
|
34 | "radix": 2,
|
35 | "no-self-compare": 2,
|
36 | "no-unused-vars": [2, {
|
37 | "vars": "all",
|
38 | "args": "none"
|
39 | }],
|
40 | "strict": [2, "global"]
|
41 | },
|
42 | "env": {
|
43 | "node": true
|
44 | }
|
45 | } |
\ | No newline at end of file |