|
34 | 34 | "dot-notation": "error",
|
35 | 35 | "eqeqeq": "error",
|
36 | 36 | "no-caller": "error",
|
| 37 | + "no-constant-condition": ["error", { "checkLoops": false }], |
37 | 38 | "no-eval": "error",
|
38 | 39 | "no-extra-bind": "error",
|
39 | 40 | "no-new-func": "error",
|
|
57 | 58 | "prefer-object-spread": "error",
|
58 | 59 | "unicode-bom": ["error", "never"],
|
59 | 60 |
|
| 61 | + // Enabled in eslint:recommended, but not applicable here |
| 62 | + "no-extra-boolean-cast": "off", |
| 63 | + "no-case-declarations": "off", |
| 64 | + "no-cond-assign": "off", |
| 65 | + "no-control-regex": "off", |
| 66 | + "no-inner-declarations": "off", |
| 67 | + |
60 | 68 | // @typescript-eslint/eslint-plugin
|
61 | 69 | "@typescript-eslint/naming-convention": [
|
62 | 70 | "error",
|
|
79 | 87 | "@typescript-eslint/no-namespace": "off",
|
80 | 88 | "@typescript-eslint/no-non-null-asserted-optional-chain": "off",
|
81 | 89 | "@typescript-eslint/no-var-requires": "off",
|
| 90 | + "@typescript-eslint/no-empty-interface": "off", |
| 91 | + "@typescript-eslint/no-explicit-any": "off", |
82 | 92 |
|
83 | 93 | // Todo: For each of these, investigate whether we want to enable them ✨
|
84 | 94 | "@typescript-eslint/ban-types": "off",
|
85 |
| - "no-case-declarations": "off", |
86 |
| - "no-cond-assign": "off", |
87 |
| - "no-constant-condition": "off", |
88 |
| - "no-control-regex": "off", |
89 |
| - "no-debugger": "off", |
90 |
| - "no-extra-boolean-cast": "off", |
91 |
| - "no-inner-declarations": "off", |
92 | 95 | "no-useless-escape": "off",
|
93 | 96 | "prefer-rest-params": "off",
|
94 | 97 | "prefer-spread": "off",
|
95 | 98 | "@typescript-eslint/no-empty-function": "off",
|
96 |
| - "@typescript-eslint/no-empty-interface": "off", |
97 |
| - "@typescript-eslint/no-explicit-any": "off", |
98 | 99 | "@typescript-eslint/no-unused-vars": "off",
|
99 | 100 |
|
100 | 101 | // Pending https://github.com/typescript-eslint/typescript-eslint/issues/4820
|
|
0 commit comments