|
15 | 15 | }, |
16 | 16 | "rules": { |
17 | 17 | // Correctness (in addition to the default rules) |
| 18 | + "typescript/no-base-to-string": "off", |
| 19 | + "typescript/restrict-template-expressions": "off", |
| 20 | + "typescript/unbound-method": "off", |
18 | 21 | "promise/no-new-statics": "error", |
19 | 22 | "promise/valid-params": "error", |
20 | 23 | // Perf |
|
32 | 35 | "eslint/no-empty-function": "warn", |
33 | 36 | "eslint/no-eq-null": "error", |
34 | 37 | "eslint/no-iterator": "error", |
| 38 | + "eslint/no-param-reassign": "warn", |
35 | 39 | "eslint/no-proto": "error", |
36 | | - "eslint/no-unused-expressions": "warn", |
37 | 40 | "eslint/no-var": "error", |
38 | 41 | "import/no-commonjs": "error", |
39 | 42 | "import/no-cycle": "error", |
|
115 | 118 | "eslint/no-redeclare": "error", |
116 | 119 | "eslint/no-self-compare": "error", |
117 | 120 | "eslint/no-throw-literal": "error", |
118 | | - "eslint/require-await": "warn", |
119 | 121 | "eslint/symbol-description": "error", |
| 122 | + "typescript/ban-ts-comment": "warn", |
120 | 123 | "typescript/no-unsafe-argument": "error", |
121 | 124 | "typescript/no-unsafe-assignment": "error", |
122 | 125 | "typescript/no-unsafe-call": "error", |
|
131 | 134 | "unicorn/consistent-empty-array-spread": "warn", |
132 | 135 | "unicorn/explicit-length-check": "warn", |
133 | 136 | "unicorn/new-for-builtins": "warn", |
| 137 | + "unicorn/no-array-callback-reference": "error", |
134 | 138 | "unicorn/no-instanceof-array": "error", |
135 | 139 | "unicorn/no-negation-in-equality-check": "warn", |
136 | 140 | "unicorn/no-static-only-class": "error", |
|
141 | 145 | "unicorn/no-useless-switch-case": "warn", |
142 | 146 | "unicorn/prefer-array-flat": "error", |
143 | 147 | "unicorn/prefer-array-some": "warn", |
| 148 | + "unicorn/prefer-at": "warn", |
144 | 149 | "unicorn/prefer-date-now": "warn", |
145 | 150 | "unicorn/prefer-math-min-max": "warn", |
146 | 151 | "unicorn/prefer-math-trunc": "error", |
147 | 152 | "unicorn/prefer-string-replace-all": "warn", |
148 | 153 | "unicorn/prefer-string-slice": "warn", |
149 | 154 | "unicorn/prefer-type-error": "warn", |
| 155 | + "unicorn/require-module-specifiers": "error", |
150 | 156 | // Style |
151 | 157 | "eslint/arrow-body-style": "warn", |
152 | 158 | "eslint/curly": "error", |
|
216 | 222 | "eslint/max-lines": "off", |
217 | 223 | "eslint/max-lines-per-function": "off", |
218 | 224 | "eslint/max-nested-callbacks": "off", |
| 225 | + "typescript/no-unsafe-argument": "off", |
| 226 | + "typescript/no-unsafe-assignment": "off", |
| 227 | + "typescript/no-unsafe-call": "off", |
| 228 | + "typescript/no-unsafe-return": "off", |
| 229 | + "typescript/no-unsafe-member-access": "off", |
| 230 | + "typescript/no-unsafe-type-assertion": "off", |
| 231 | + "typescript/no-explicit-any": "off", |
219 | 232 | // Vitest specific rules |
220 | 233 | "vitest/no-import-node-test": "warn", |
221 | 234 | "vitest/prefer-to-be-falsy": "warn", |
|
0 commit comments