|
1 | | - |
2 | 1 | { |
3 | 2 | "root": true, |
4 | 3 | "parser": "@typescript-eslint/parser", |
5 | 4 | "parserOptions": { |
6 | | - "ecmaVersion": 6, |
7 | | - "sourceType": "module" |
| 5 | + "ecmaVersion": 6, |
| 6 | + "sourceType": "module" |
8 | 7 | }, |
9 | 8 | "env": { |
10 | 9 | "jest": true |
11 | 10 | }, |
12 | 11 | "plugins": ["@typescript-eslint"], |
13 | 12 | "extends": ["standard"], |
14 | 13 | "rules": { |
15 | | - "indent": ["error", 4, { "SwitchCase": 1 }], |
16 | | - "semi": ["error", "always"], |
17 | | - "no-extra-semi": "error", |
18 | | - "quote-props": "warn", |
19 | | - "dot-notation": "warn", |
20 | | - "object-curly-newline": "warn", |
21 | | - "multiline-ternary": "warn", |
22 | | - "prefer-const": "warn", |
23 | | - "no-prototype-builtins": "warn", |
24 | | - "array-callback-return": "warn", |
25 | | - "array-bracket-spacing": "warn", |
26 | | - "quotes": "warn", |
27 | | - "lines-between-class-members": "warn", |
28 | | - "no-empty": "warn", |
29 | | - "prefer-regex-literals": "warn", |
30 | | - "no-useless-catch": "warn", |
31 | | - "no-case-declarations": "warn", |
32 | | - "computed-property-spacing": "warn", |
33 | | - "no-async-promise-executor": "warn", |
34 | | - "no-unused-vars": "warn", |
35 | | - "no-unreachable-loop": "warn", |
36 | | - "no-void": "warn", |
37 | | - "import/no-webpack-loader-syntax": "warn", |
38 | | - "node/no-callback-literal": ["off", "warn"], |
39 | | - "node/handle-callback-err": ["off", "warn"], |
40 | | - "node/no-deprecated-api": ["off", "warn"] |
| 14 | + "indent": ["error", 4, { "SwitchCase": 1 }], |
| 15 | + "semi": ["error", "always"], |
| 16 | + "no-extra-semi": "error", |
| 17 | + "quote-props": "warn", |
| 18 | + "dot-notation": "warn", |
| 19 | + "object-curly-newline": "warn", |
| 20 | + "multiline-ternary": "warn", |
| 21 | + "prefer-const": "warn", |
| 22 | + "no-prototype-builtins": "warn", |
| 23 | + "array-callback-return": "warn", |
| 24 | + "array-bracket-spacing": "warn", |
| 25 | + "quotes": "warn", |
| 26 | + "lines-between-class-members": "warn", |
| 27 | + "no-empty": "warn", |
| 28 | + "prefer-regex-literals": "warn", |
| 29 | + "no-useless-catch": "warn", |
| 30 | + "no-case-declarations": "warn", |
| 31 | + "computed-property-spacing": "warn", |
| 32 | + "no-async-promise-executor": "warn", |
| 33 | + "no-unused-vars": "warn", |
| 34 | + "no-unreachable-loop": "warn", |
| 35 | + "no-void": "warn", |
| 36 | + "import/no-webpack-loader-syntax": "warn", |
| 37 | + "node/no-callback-literal": ["off", "warn"], |
| 38 | + "node/handle-callback-err": ["off", "warn"], |
| 39 | + "node/no-deprecated-api": ["off", "warn"] |
41 | 40 | } |
42 | 41 | } |
43 | | - |
44 | | - |
0 commit comments