1 | {
|
2 | "extends": "airbnb-base",
|
3 | "env": {
|
4 | "node": true,
|
5 | "mocha": true
|
6 | },
|
7 | "rules": {
|
8 | "arrow-body-style": ["warn", "as-needed"],
|
9 | "comma-dangle": 0,
|
10 | "global-require": "warn",
|
11 | "import/no-unresolved": "off",
|
12 | "new-cap": "off",
|
13 | "no-param-reassign": 0,
|
14 | "no-restricted-syntax": "off",
|
15 | "no-return-assign": "warn",
|
16 | "no-shadow": "off",
|
17 | "no-underscore-dangle": "off",
|
18 | "no-unused-expressions": "off",
|
19 | "no-unused-vars": "warn",
|
20 | "no-useless-escape": "off",
|
21 | "no-trailing-spaces": ["error", { "skipBlankLines": true }],
|
22 | "max-len": [ "warn", 120, 4 ],
|
23 | "consistent-return": "warn",
|
24 | "prefer-template": "warn",
|
25 | "radix": "off",
|
26 | "guard-for-in": "warn",
|
27 | "spaced-comment":"off",
|
28 | }
|
29 | } |
\ | No newline at end of file |