|
7 | 7 | "modules": true
|
8 | 8 | }
|
9 | 9 | },
|
10 |
| - "plugins": [ |
11 |
| - "@typescript-eslint/eslint-plugin", |
12 |
| - "prettier", |
13 |
| - ], |
| 10 | + "plugins": ["@typescript-eslint/eslint-plugin", "prettier"], |
14 | 11 | "env": {
|
15 | 12 | "node": true,
|
16 | 13 | "jest": true
|
17 | 14 | },
|
18 |
| - "extends": [ |
19 |
| - "eslint:recommended", |
20 |
| - "plugin:@typescript-eslint/recommended", |
21 |
| - "prettier", |
22 |
| - "prettier/@typescript-eslint" |
23 |
| - ], |
| 15 | + "extends": ["eslint:recommended", "plugin:@typescript-eslint/recommended", "prettier", "prettier/@typescript-eslint"], |
24 | 16 | "rules": {
|
25 | 17 | "@typescript-eslint/no-explicit-any": 0,
|
26 | 18 | "@typescript-eslint/explicit-function-return-type": 0,
|
|
40 | 32 | ]
|
41 | 33 | },
|
42 | 34 | "settings": {
|
43 |
| - "@typescript-eslint/camelcase": ["error", {"allow": ["__non_webpack_module__", "__non_webpack_require__", "^npm(_[a-z]+)+$"]}], |
| 35 | + "@typescript-eslint/camelcase": [ |
| 36 | + "error", |
| 37 | + { |
| 38 | + "allow": ["__non_webpack_module__", "__non_webpack_require__", "^npm(_[a-z]+)+$"] |
| 39 | + } |
| 40 | + ], |
44 | 41 | "@typescript-eslint/class-name-casing": 2,
|
45 |
| - "@typescript-eslint/indent": ["error", 2, {"SwitchCase": 1}], |
46 |
| - "@typescript-eslint/no-unused-vars": [2, {"args": "none", "ignoreRestSiblings": true}], |
| 42 | + "@typescript-eslint/indent": ["error", 2, { "SwitchCase": 1 }], |
| 43 | + "@typescript-eslint/no-unused-vars": [2, { "args": "none", "ignoreRestSiblings": true }], |
47 | 44 | "array-bracket-spacing": 2,
|
48 | 45 | "arrow-spacing": 2,
|
49 | 46 | "comma-dangle": ["error", "always-multiline"],
|
50 | 47 | "computed-property-spacing": 2,
|
51 |
| - "generator-star-spacing": ["error", {"before": true, "after": true}], |
| 48 | + "generator-star-spacing": ["error", { "before": true, "after": true }], |
52 | 49 | "keyword-spacing": 2,
|
53 | 50 | "no-multiple-empty-lines": 2,
|
54 | 51 | "no-tabs": 2,
|
|
0 commit comments