1 | {
|
2 | "env": {
|
3 | "es6": true,
|
4 | "node": true,
|
5 | "mocha": true
|
6 | },
|
7 | "extends": "eslint:recommended",
|
8 | "parserOptions": {
|
9 | "ecmaVersion": 2018
|
10 | },
|
11 | "rules": {
|
12 | "no-tabs": ["error"],
|
13 | "no-console": ["off"],
|
14 | "no-var": ["error"],
|
15 | "curly": ["error", "all"],
|
16 | "space-before-function-paren": ["error", {
|
17 | "anonymous": "always",
|
18 | "named": "never",
|
19 | "asyncArrow": "always"
|
20 | }],
|
21 | "quotes": ["error", "single", {"avoidEscape": true}],
|
22 | "linebreak-style": ["error", "unix"],
|
23 | "strict": ["error", "global"],
|
24 | "semi": ["error", "always"],
|
25 | "indent": ["error", 4, {"SwitchCase": 1}]
|
26 | }
|
27 | }
|