1 | {
|
2 | "env": {
|
3 | "node": true
|
4 | },
|
5 | "rules": {
|
6 | "indent": [2, 2, {"SwitchCase": 1}],
|
7 | "quotes": [2, "single"],
|
8 | "linebreak-style": [2, "unix"],
|
9 | "semi": [2, "always"],
|
10 | "handle-callback-err": [2, "^err"],
|
11 | "valid-jsdoc": [2, {
|
12 | "requireReturn": false,
|
13 | "requireReturnDescription": false,
|
14 | "prefer": {
|
15 | "return": "returns"
|
16 | }
|
17 | }],
|
18 | "no-redeclare": [2, { "builtinGlobals": true }],
|
19 | "no-shadow": [2, { "builtinGlobals": true, "hoist": "all" }],
|
20 | "no-use-before-define": [2, "nofunc"],
|
21 | "no-shadow-restricted-names": 2,
|
22 | "no-extra-semi": 2,
|
23 | "no-unused-vars": 2,
|
24 | "no-undef": 2,
|
25 | "no-console": 2,
|
26 | "curly": 0,
|
27 | "key-spacing": 0,
|
28 | "strict": 0,
|
29 | "dot-notation": 0,
|
30 | "eol-last": 0,
|
31 | "no-new": 0,
|
32 | "semi-spacing": 0,
|
33 | "no-multi-spaces": 0,
|
34 | "eqeqeq": 0,
|
35 | "no-mixed-requires": 0
|
36 | }
|
37 | }
|