1 | {
|
2 | "parser": "babel-eslint",
|
3 | "parserOptions": {
|
4 | "ecmaVersion": 6,
|
5 | "sourceType": "module",
|
6 | "ecmaFeatures": {
|
7 | "experimentalObjectRestSpread": true
|
8 | }
|
9 | },
|
10 | "extends": "eslint:recommended",
|
11 | "rules": {
|
12 | "comma-dangle": 0,
|
13 | "brace-style": [2, "1tbs"],
|
14 | "no-console": 0,
|
15 | "padded-blocks": 0,
|
16 | "indent": [2, 2, { "SwitchCase": 1 }],
|
17 | "spaced-comment": 1,
|
18 | "quotes": ["error", "single", { "avoidEscape": true }],
|
19 | "no-underscore-dangle": 0,
|
20 | "no-magic-numbers": 0,
|
21 | "quote-props": 0,
|
22 | "prefer-arrow-callback": 0,
|
23 | "space-before-function-paren": 0,
|
24 | "no-new": 0,
|
25 | "func-names": 0,
|
26 | "global-require": 0,
|
27 | "new-cap": 0,
|
28 | "arrow-body-style": 0,
|
29 | "class-methods-use-this": 0,
|
30 | "consistent-return": 0,
|
31 | "semi": [2, "always"],
|
32 | "max-len": [1, 140]
|
33 | },
|
34 | "env": {
|
35 | "browser": true,
|
36 | "es6": true,
|
37 | "node": true,
|
38 | "commonjs": true
|
39 | }
|
40 | }
|