|
12 | 12 | "globals": { |
13 | 13 | "globalThis": false |
14 | 14 | }, |
| 15 | + "reportUnusedDisableDirectives": true, |
15 | 16 | "rules": { |
16 | 17 | "class-methods-use-this": "off", |
17 | 18 | "consistent-return": "off", |
|
30 | 31 | "no-object-constructor": "error", |
31 | 32 | "no-param-reassign": "off", |
32 | 33 | "no-plusplus": "off", |
33 | | - "no-restricted-syntax": "off", |
| 34 | + "no-restricted-syntax": ["error", "LabeledStatement", "WithStatement"], |
34 | 35 | "no-return-assign": "off", |
35 | 36 | "no-shadow": "off", |
36 | 37 | "no-throw-literal": "off", |
|
39 | 40 | "no-use-before-define": "off", |
40 | 41 | "prefer-const": "off", |
41 | 42 | "prefer-destructuring": ["error", { "object": true, "array": false }], |
42 | | - "prefer-rest-params": "off", |
43 | | - "prefer-promise-reject-errors": "off", |
44 | 43 | "import/extensions": ["error", "always"], |
45 | | - "import/no-cycle": "off", |
46 | 44 | "import/no-extraneous-dependencies": "off", |
47 | 45 | "import/prefer-default-export": "off" |
48 | 46 | }, |
|
53 | 51 | "rules": { |
54 | 52 | "@typescript-eslint/no-shadow": "off", |
55 | 53 | "@typescript-eslint/no-unused-expressions": "off", |
| 54 | + "@typescript-eslint/no-use-before-define": "off", |
56 | 55 | "import/extensions": ["error", "always"], |
57 | 56 | "import/no-cycle": "off" |
58 | 57 | } |
|
0 commit comments