1 | {
|
2 | "parser": "babel-eslint",
|
3 | "parserOptions": {
|
4 | "sourceType": "module",
|
5 | "ecmaFeatures": { "modules": true }
|
6 | },
|
7 | "rules": {
|
8 | "max-len": [2, 80, 2, {"ignoreUrls": true}],
|
9 | "indent": [2, 4, {"SwitchCase": 1}],
|
10 | "semi": ["error", "always"],
|
11 | "no-trailing-spaces": 2,
|
12 | "no-multi-spaces": 2,
|
13 | "array-bracket-spacing": 2,
|
14 | "keyword-spacing": ["error", { "after": true, "before": true }],
|
15 | "max-depth": [2, 7],
|
16 | "max-statements": [2, 133],
|
17 | "complexity": [2, 45],
|
18 | "no-unused-vars": 2,
|
19 | "no-eval": 2,
|
20 | "no-underscore-dangle": 0,
|
21 | "no-loop-func": 2,
|
22 | "no-floating-decimal": 2,
|
23 | "curly": 2,
|
24 | "eqeqeq": [2, "smart"],
|
25 | "quotes": [2, "single"],
|
26 | "new-cap": 2,
|
27 | "radix": [2, "always"]
|
28 | },
|
29 | "env": {
|
30 | "es6": true,
|
31 | "browser": true,
|
32 | "node": false
|
33 | },
|
34 | "globals": {
|
35 | "__webpack_public_path__": false
|
36 | }
|
37 | }
|