1 | {
|
2 | "extends": "eslint:recommended",
|
3 | "plugins": [],
|
4 | "parserOptions": {
|
5 | "ecmaFeatures": {
|
6 | "ecmaVersion": 6,
|
7 | "jsx": true
|
8 | }
|
9 | },
|
10 | "ecmaFeatures": {
|
11 | "ecmaVersion": 6
|
12 | },
|
13 | "rules": {
|
14 | "jsx-quotes": ["error", "prefer-double"],
|
15 | "indent": ["error", 2],
|
16 | "quotes": ["error", "single"],
|
17 | "semi": ["warn", "always"],
|
18 | "comma-dangle": ["warn", "always"],
|
19 | "comma-spacing": "warn",
|
20 | "array-bracket-spacing": "warn",
|
21 | "object-curly-spacing": ["error", "always"],
|
22 | "eqeqeq": "warn",
|
23 | "no-cond-assign": ["warn", "always"],
|
24 | "no-unused-vars": "warn",
|
25 | "no-console": "warn",
|
26 | "brace-style": ["warn", "1tbs"],
|
27 | "strict": ["error", "safe"]
|
28 | },
|
29 | "env": {
|
30 | "browser": true,
|
31 | "commonjs": true,
|
32 | "es6": true,
|
33 | "node": true,
|
34 | "mocha": true
|
35 | }
|
36 | }
|