1 | {
|
2 | "extends": "airbnb-base",
|
3 | "env": {
|
4 | "es6": true,
|
5 | "browser": true,
|
6 | "node": true
|
7 | },
|
8 | "rules": {
|
9 | "indent": [
|
10 | "error",
|
11 | "tab",
|
12 | {
|
13 | "SwitchCase": 1
|
14 | }
|
15 | ],
|
16 | "no-tabs": 0,
|
17 | "import/prefer-default-export": 0,
|
18 | "import/no-extraneous-dependencies": 0,
|
19 | "import/no-dynamic-require": 1,
|
20 | "prefer-template": 1,
|
21 | "max-len": [
|
22 | "error",
|
23 | 120
|
24 | ],
|
25 | "no-restricted-syntax": 0,
|
26 | "arrow-parens": 0,
|
27 | "no-param-reassign": 1,
|
28 | "global-require": 1,
|
29 | "no-underscore-dangle": 0,
|
30 | "no-shadow": 1,
|
31 | "consistent-return": 1,
|
32 | "comma-dangle": ["error", {
|
33 | "arrays": "always-multiline",
|
34 | "objects": "always-multiline",
|
35 | "imports": "always-multiline",
|
36 | "exports": "always-multiline",
|
37 | "functions": "ignore"
|
38 | }]
|
39 | }
|
40 | }
|