|
1 | 1 | {
|
2 | 2 | "root": true,
|
3 |
| - "ignorePatterns": ["dist", "coverage"], |
| 3 | + "ignorePatterns": [ |
| 4 | + "dist", |
| 5 | + "coverage" |
| 6 | + ], |
4 | 7 | "parserOptions": {
|
5 | 8 | "ecmaVersion": 2020
|
6 | 9 | },
|
7 | 10 | "overrides": [
|
8 | 11 | {
|
9 |
| - "files": ["*.ts"], |
| 12 | + "files": [ |
| 13 | + "*.ts" |
| 14 | + ], |
10 | 15 | "parserOptions": {
|
11 |
| - "project": ["tsconfig.json"], |
| 16 | + "project": [ |
| 17 | + "tsconfig.json" |
| 18 | + ], |
12 | 19 | "createDefaultProgram": true
|
13 | 20 | },
|
14 | 21 | "extends": [
|
|
21 | 28 | "@typescript-eslint/ban-ts-comment": "off",
|
22 | 29 | "@typescript-eslint/no-explicit-any": "off",
|
23 | 30 | "@typescript-eslint/no-unused-vars": "error",
|
24 |
| - "indent": ["error", 2, {"SwitchCase": 1}], |
25 |
| - "quotes": ["warn", "single", "avoid-escape"], |
26 |
| - "linebreak-style": ["error", "unix"], |
27 |
| - "semi": ["error", "always"], |
| 31 | + "indent": [ |
| 32 | + "error", |
| 33 | + 2, |
| 34 | + { |
| 35 | + "SwitchCase": 1 |
| 36 | + } |
| 37 | + ], |
| 38 | + "quotes": [ |
| 39 | + "warn", |
| 40 | + "single", |
| 41 | + "avoid-escape" |
| 42 | + ], |
| 43 | + "linebreak-style": [ |
| 44 | + "error", |
| 45 | + "unix" |
| 46 | + ], |
| 47 | + "semi": [ |
| 48 | + "error", |
| 49 | + "always" |
| 50 | + ], |
28 | 51 | "no-underscore-dangle": "off",
|
29 |
| - "eqeqeq": ["error", "smart"], |
| 52 | + "eqeqeq": [ |
| 53 | + "error", |
| 54 | + "smart" |
| 55 | + ], |
30 | 56 | "no-unused-expressions": "off",
|
31 |
| - "new-cap" : "off", |
| 57 | + "new-cap": "off", |
32 | 58 | "no-mixed-requires": "off",
|
33 |
| - "camelcase": ["error", {"properties": "never"}], |
34 |
| - "no-use-before-define": ["error", "nofunc"], |
35 |
| - "eol-last": ["error", "always"], |
| 59 | + "camelcase": [ |
| 60 | + "error", |
| 61 | + { |
| 62 | + "properties": "never" |
| 63 | + } |
| 64 | + ], |
| 65 | + "no-use-before-define": [ |
| 66 | + "error", |
| 67 | + "nofunc" |
| 68 | + ], |
| 69 | + "eol-last": [ |
| 70 | + "error", |
| 71 | + "always" |
| 72 | + ], |
36 | 73 | "no-unused-vars": "off",
|
37 | 74 | "keyword-spacing": "error",
|
38 | 75 | "comma-style": "error"
|
|
0 commit comments