eslint-config-heck 9.0.2 → 9.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/biomeJsTs.json +5 -1
- package/nodeWithBiome.js +4 -10
- package/package.json +7 -7
package/biomeJsTs.json
CHANGED
|
@@ -191,6 +191,7 @@
|
|
|
191
191
|
"noUnknownAttribute": "error",
|
|
192
192
|
"noUnnecessaryConditions": "off",
|
|
193
193
|
"noUselessReturn": "error",
|
|
194
|
+
"useArraySome": "error",
|
|
194
195
|
"useArraySortCompare": "error",
|
|
195
196
|
"useAwaitThenable": "off",
|
|
196
197
|
"useConsistentEnumValueType": "error",
|
|
@@ -207,10 +208,13 @@
|
|
|
207
208
|
"useExplicitType": "off",
|
|
208
209
|
"useFind": "off",
|
|
209
210
|
"useGlobalThis": "off",
|
|
211
|
+
"useNamedCaptureGroup": "error",
|
|
212
|
+
"useNullishCoalescing": "error",
|
|
210
213
|
"usePlaywrightValidDescribeCallback": "off",
|
|
211
214
|
"useRegexpExec": "error",
|
|
212
215
|
"useSortedClasses": "off",
|
|
213
|
-
"useSpread": "error"
|
|
216
|
+
"useSpread": "error",
|
|
217
|
+
"useUnicodeRegex": "error"
|
|
214
218
|
},
|
|
215
219
|
"performance": {
|
|
216
220
|
"noAccumulatingSpread": "error",
|
package/nodeWithBiome.js
CHANGED
|
@@ -263,7 +263,7 @@ export default [
|
|
|
263
263
|
},
|
|
264
264
|
],
|
|
265
265
|
"prefer-exponentiation-operator": "off",
|
|
266
|
-
"prefer-named-capture-group": "
|
|
266
|
+
"prefer-named-capture-group": "off",
|
|
267
267
|
"prefer-numeric-literals": "off",
|
|
268
268
|
"prefer-object-has-own": "error",
|
|
269
269
|
"prefer-object-spread": "off",
|
|
@@ -275,7 +275,7 @@ export default [
|
|
|
275
275
|
"preserve-caught-error": "off",
|
|
276
276
|
radix: "off",
|
|
277
277
|
"require-await": "off",
|
|
278
|
-
"require-unicode-regexp": "
|
|
278
|
+
"require-unicode-regexp": "off",
|
|
279
279
|
"require-yield": "off",
|
|
280
280
|
"sort-imports": "off",
|
|
281
281
|
"sort-keys": "off",
|
|
@@ -599,7 +599,7 @@ export default [
|
|
|
599
599
|
"unicorn/prefer-array-flat": "error",
|
|
600
600
|
"unicorn/prefer-array-flat-map": "off",
|
|
601
601
|
"unicorn/prefer-array-index-of": "off",
|
|
602
|
-
"unicorn/prefer-array-some": "
|
|
602
|
+
"unicorn/prefer-array-some": "off",
|
|
603
603
|
"unicorn/prefer-at": "off",
|
|
604
604
|
"unicorn/prefer-bigint-literals": "error",
|
|
605
605
|
"unicorn/prefer-blob-reading-methods": "error",
|
|
@@ -894,13 +894,7 @@ export default [
|
|
|
894
894
|
"@typescript-eslint/prefer-includes": "off",
|
|
895
895
|
"@typescript-eslint/prefer-literal-enum-member": "off",
|
|
896
896
|
"@typescript-eslint/prefer-namespace-keyword": "off",
|
|
897
|
-
"@typescript-eslint/prefer-nullish-coalescing":
|
|
898
|
-
"error",
|
|
899
|
-
{
|
|
900
|
-
ignoreMixedLogicalExpressions: true,
|
|
901
|
-
ignorePrimitives: true,
|
|
902
|
-
},
|
|
903
|
-
],
|
|
897
|
+
"@typescript-eslint/prefer-nullish-coalescing": "off",
|
|
904
898
|
"@typescript-eslint/prefer-optional-chain": "off",
|
|
905
899
|
"prefer-promise-reject-errors": "off",
|
|
906
900
|
"@typescript-eslint/prefer-promise-reject-errors": "error",
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "eslint-config-heck",
|
|
3
|
-
"version": "9.
|
|
3
|
+
"version": "9.1.1",
|
|
4
4
|
"description": "Contains an ESLint configuration for ES2015+, TypeScript, and React.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "index.js",
|
|
@@ -28,10 +28,10 @@
|
|
|
28
28
|
"author": "atheck",
|
|
29
29
|
"license": "MIT",
|
|
30
30
|
"dependencies": {
|
|
31
|
-
"@stylistic/eslint-plugin": "5.
|
|
32
|
-
"@typescript-eslint/eslint-plugin": "8.56.
|
|
33
|
-
"@typescript-eslint/parser": "8.56.
|
|
34
|
-
"eslint": "9.39.
|
|
31
|
+
"@stylistic/eslint-plugin": "5.10.0",
|
|
32
|
+
"@typescript-eslint/eslint-plugin": "8.56.1",
|
|
33
|
+
"@typescript-eslint/parser": "8.56.1",
|
|
34
|
+
"eslint": "9.39.4",
|
|
35
35
|
"eslint-plugin-import": "2.32.0",
|
|
36
36
|
"eslint-plugin-jest": "29.15.0",
|
|
37
37
|
"eslint-plugin-react": "7.37.5",
|
|
@@ -42,12 +42,12 @@
|
|
|
42
42
|
"typescript": "5.9.3"
|
|
43
43
|
},
|
|
44
44
|
"devDependencies": {
|
|
45
|
-
"@biomejs/biome": "2.4.
|
|
45
|
+
"@biomejs/biome": "2.4.6",
|
|
46
46
|
"@testing-library/dom": "10.4.1",
|
|
47
47
|
"@testing-library/react": "16.3.2",
|
|
48
48
|
"@types/jest": "30.0.0",
|
|
49
49
|
"@types/react": "19.2.14",
|
|
50
|
-
"globals": "17.
|
|
50
|
+
"globals": "17.4.0",
|
|
51
51
|
"jest": "30.2.0",
|
|
52
52
|
"react": "19.2.4",
|
|
53
53
|
"semantic-release": "25.0.3"
|