eslint-config-heck 8.0.4 → 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/node.js +6 -0
- package/nodeWithBiome.js +6 -0
- package/package.json +2 -2
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
|
@@ -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",
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "eslint-config-heck",
|
|
3
|
-
"version": "8.0
|
|
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,7 +31,7 @@
|
|
|
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
|
+
"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",
|