@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.
@@ -288,7 +288,12 @@ const settings = {
288
288
  },
289
289
  ],
290
290
  "@typescript-eslint/no-throw-literal": "error",
291
- "@typescript-eslint/no-unnecessary-condition": "error",
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",
@@ -286,7 +286,12 @@ const settings = {
286
286
  },
287
287
  ],
288
288
  "@typescript-eslint/no-throw-literal": "error",
289
- "@typescript-eslint/no-unnecessary-condition": "error",
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",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@rebeccastevens/eslint-config",
3
- "version": "1.7.5",
3
+ "version": "1.7.6",
4
4
  "description": "My ESLint shareable config.",
5
5
  "keywords": [
6
6
  "eslint config"