eslint-config-conventions 21.1.0 → 21.1.1

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/.oxlintrc.json CHANGED
@@ -126,7 +126,7 @@
126
126
  ],
127
127
  "no-regex-spaces": "error",
128
128
  "no-shadow-restricted-names": "error",
129
- "no-throw-literal": "error",
129
+ "no-throw-literal": "off",
130
130
  "no-unused-expressions": [
131
131
  "error",
132
132
  {
@@ -282,8 +282,7 @@
282
282
  "builtinGlobals": false
283
283
  }
284
284
  ],
285
- "no-throw-literal": "off",
286
- "@typescript-eslint/only-throw-error": "error",
285
+ "@typescript-eslint/only-throw-error": "off",
287
286
  "no-unused-expressions": [
288
287
  "error",
289
288
  {
@@ -313,6 +312,7 @@
313
312
  ],
314
313
  "@typescript-eslint/no-base-to-string": "error",
315
314
  "@typescript-eslint/no-dynamic-delete": "off",
315
+ "@typescript-eslint/no-deprecated": "off",
316
316
  "@typescript-eslint/no-extra-non-null-assertion": "error",
317
317
  "@typescript-eslint/no-redundant-type-constituents": "error",
318
318
  "@typescript-eslint/no-extraneous-class": [
@@ -351,6 +351,7 @@
351
351
  "@typescript-eslint/no-array-delete": "error",
352
352
  "@typescript-eslint/prefer-as-const": "error",
353
353
  "@typescript-eslint/prefer-function-type": "error",
354
+ "@typescript-eslint/prefer-includes": "error",
354
355
  "@typescript-eslint/prefer-reduce-type-parameter": "error",
355
356
  "@typescript-eslint/prefer-return-this-type": "error",
356
357
  "@typescript-eslint/promise-function-async": "error",
@@ -373,6 +374,18 @@
373
374
  {
374
375
  "allowNumber": true
375
376
  }
377
+ ],
378
+ "@typescript-eslint/strict-boolean-expressions": [
379
+ "error",
380
+ {
381
+ "allowString": false,
382
+ "allowNumber": false,
383
+ "allowNullableObject": false,
384
+ "allowNullableBoolean": false,
385
+ "allowNullableString": false,
386
+ "allowNullableNumber": false,
387
+ "allowAny": false
388
+ }
376
389
  ]
377
390
  },
378
391
  "plugins": ["typescript"]
package/eslint.config.js CHANGED
@@ -159,7 +159,7 @@ export default defineConfig(
159
159
  ],
160
160
  "no-regex-spaces": "error",
161
161
  "no-shadow-restricted-names": "error",
162
- "no-throw-literal": "error",
162
+ "no-throw-literal": "off",
163
163
  "no-undef-init": "error",
164
164
  "no-unused-expressions": [
165
165
  "error",
@@ -335,7 +335,7 @@ export default defineConfig(
335
335
  ],
336
336
 
337
337
  "no-throw-literal": "off",
338
- "@typescript-eslint/only-throw-error": "error",
338
+ "@typescript-eslint/only-throw-error": "off",
339
339
 
340
340
  "no-unused-expressions": "off",
341
341
  "@typescript-eslint/no-unused-expressions": [
@@ -386,7 +386,7 @@ export default defineConfig(
386
386
  "@typescript-eslint/no-base-to-string": "error",
387
387
  "@typescript-eslint/no-deprecated": "error",
388
388
  "@typescript-eslint/no-extra-non-null-assertion": "error",
389
- "@typescript-eslint/no-redundant-type-constituents": "error",
389
+ "@typescript-eslint/no-redundant-type-constituents": "off",
390
390
 
391
391
  "@typescript-eslint/no-extraneous-class": [
392
392
  "error",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "eslint-config-conventions",
3
- "version": "21.1.0",
3
+ "version": "21.1.1",
4
4
  "public": true,
5
5
  "description": "ESLint shareable config to enforce strict conventions and good code quality.",
6
6
  "author": "Théo LUDWIG <contact@theoludwig.fr>",
@@ -75,18 +75,18 @@
75
75
  }
76
76
  },
77
77
  "devDependencies": {
78
- "@types/node": "24.9.1",
79
- "globals": "16.4.0",
78
+ "@types/node": "24.10.1",
79
+ "globals": "16.5.0",
80
80
  "editorconfig-checker": "6.1.1",
81
- "oxlint": "1.24.0",
82
- "@oxlint/migrate": "1.24.0",
83
- "eslint": "9.38.0",
81
+ "oxlint": "1.30.0",
82
+ "@oxlint/migrate": "1.30.0",
83
+ "eslint": "9.39.1",
84
84
  "eslint-plugin-promise": "7.2.1",
85
85
  "eslint-plugin-unicorn": "62.0.0",
86
86
  "eslint-plugin-import-x": "4.16.1",
87
- "typescript-eslint": "8.46.2",
88
- "prettier": "3.6.2",
89
- "semantic-release": "25.0.1",
87
+ "typescript-eslint": "8.48.0",
88
+ "prettier": "3.7.0",
89
+ "semantic-release": "25.0.2",
90
90
  "typescript": "5.9.3"
91
91
  }
92
92
  }