eslint-config-heck 8.0.3 → 8.1.0

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/biomeJsTs.json CHANGED
@@ -154,7 +154,9 @@
154
154
  "noShadow": "off",
155
155
  "noUnnecessaryConditions": "off",
156
156
  "noUnresolvedImports": "off",
157
+ "noUselessCatchBinding": "error",
157
158
  "noUselessUndefined": "error",
159
+ "useConsistentArrowReturn": "error",
158
160
  "useConsistentTypeDefinitions": "error",
159
161
  "useExhaustiveSwitchCases": "error",
160
162
  "useExplicitType": "off",
package/node.js CHANGED
@@ -326,6 +326,12 @@ export default [
326
326
  "prefer-rest-params": "error",
327
327
  "prefer-spread": "error",
328
328
  "prefer-template": "error",
329
+ "preserve-caught-error": [
330
+ "error",
331
+ {
332
+ requireCatchParameter: true,
333
+ },
334
+ ],
329
335
  radix: ["error", "always"],
330
336
  "require-await": "off",
331
337
  "require-unicode-regexp": "error",
package/nodeWithBiome.js CHANGED
@@ -118,7 +118,7 @@ export default [
118
118
  enforceForClassMembers: true,
119
119
  },
120
120
  ],
121
- "arrow-body-style": ["error", "as-needed"],
121
+ "arrow-body-style": "off",
122
122
  "block-scoped-var": "error",
123
123
  camelcase: "off",
124
124
  "capitalized-comments": "off",
@@ -279,6 +279,12 @@ export default [
279
279
  "prefer-rest-params": "off",
280
280
  "prefer-spread": "error",
281
281
  "prefer-template": "off",
282
+ "preserve-caught-error": [
283
+ "error",
284
+ {
285
+ "requireCatchParameter": true
286
+ }
287
+ ],
282
288
  radix: "off",
283
289
  "require-await": "off",
284
290
  "require-unicode-regexp": "error",
@@ -634,7 +640,7 @@ export default [
634
640
  "unicorn/prefer-node-protocol": "off",
635
641
  "unicorn/prefer-number-properties": "off",
636
642
  "unicorn/prefer-object-from-entries": "error",
637
- "unicorn/prefer-optional-catch-binding": "error",
643
+ "unicorn/prefer-optional-catch-binding": "off",
638
644
  "unicorn/prefer-prototype-methods": "off",
639
645
  "unicorn/prefer-query-selector": "off",
640
646
  "unicorn/prefer-reflect-apply": "error",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "eslint-config-heck",
3
- "version": "8.0.3",
3
+ "version": "8.1.0",
4
4
  "description": "Contains an ESLint configuration for ES2015+, TypeScript, and React.",
5
5
  "type": "module",
6
6
  "main": "index.js",
@@ -31,18 +31,18 @@
31
31
  "@stylistic/eslint-plugin": "5.3.1",
32
32
  "@typescript-eslint/eslint-plugin": "8.42.0",
33
33
  "@typescript-eslint/parser": "8.42.0",
34
- "eslint": "9.34.0",
34
+ "eslint": "9.35.0",
35
35
  "eslint-plugin-import": "2.32.0",
36
36
  "eslint-plugin-jest": "29.0.1",
37
37
  "eslint-plugin-react": "7.37.5",
38
38
  "eslint-plugin-react-hooks": "5.2.0",
39
39
  "eslint-plugin-react-native": "5.0.0",
40
- "eslint-plugin-testing-library": "7.6.7",
40
+ "eslint-plugin-testing-library": "7.6.8",
41
41
  "eslint-plugin-unicorn": "60.0.0",
42
42
  "typescript": "5.9.2"
43
43
  },
44
44
  "devDependencies": {
45
- "@biomejs/biome": "2.2.2",
45
+ "@biomejs/biome": "2.2.3",
46
46
  "@testing-library/dom": "10.4.1",
47
47
  "@testing-library/react": "16.3.0",
48
48
  "@types/jest": "30.0.0",