@rebeccastevens/eslint-config 1.7.5 → 1.7.6
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/typescript.cjs +6 -1
- package/dist/typescript.mjs +6 -1
- package/package.json +1 -1
package/dist/typescript.cjs
CHANGED
|
@@ -288,7 +288,12 @@ const settings = {
|
|
|
288
288
|
},
|
|
289
289
|
],
|
|
290
290
|
"@typescript-eslint/no-throw-literal": "error",
|
|
291
|
-
"@typescript-eslint/no-unnecessary-condition":
|
|
291
|
+
"@typescript-eslint/no-unnecessary-condition": [
|
|
292
|
+
"error",
|
|
293
|
+
{
|
|
294
|
+
allowConstantLoopConditions: true,
|
|
295
|
+
},
|
|
296
|
+
],
|
|
292
297
|
"@typescript-eslint/no-unnecessary-type-constraint": "error",
|
|
293
298
|
"@typescript-eslint/no-unsafe-argument": "warn",
|
|
294
299
|
"@typescript-eslint/no-unsafe-assignment": "warn",
|
package/dist/typescript.mjs
CHANGED
|
@@ -286,7 +286,12 @@ const settings = {
|
|
|
286
286
|
},
|
|
287
287
|
],
|
|
288
288
|
"@typescript-eslint/no-throw-literal": "error",
|
|
289
|
-
"@typescript-eslint/no-unnecessary-condition":
|
|
289
|
+
"@typescript-eslint/no-unnecessary-condition": [
|
|
290
|
+
"error",
|
|
291
|
+
{
|
|
292
|
+
allowConstantLoopConditions: true,
|
|
293
|
+
},
|
|
294
|
+
],
|
|
290
295
|
"@typescript-eslint/no-unnecessary-type-constraint": "error",
|
|
291
296
|
"@typescript-eslint/no-unsafe-argument": "warn",
|
|
292
297
|
"@typescript-eslint/no-unsafe-assignment": "warn",
|