eslint-config-heck 6.0.4 → 6.2.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 +8 -2
- package/nodeWithBiome.js +8 -2
- package/package.json +9 -9
package/node.js
CHANGED
|
@@ -257,6 +257,7 @@ export default [
|
|
|
257
257
|
"no-shadow-restricted-names": "error",
|
|
258
258
|
"no-ternary": "off",
|
|
259
259
|
"no-throw-literal": "error",
|
|
260
|
+
"no-unassigned-vars": "error",
|
|
260
261
|
"no-undef-init": "error",
|
|
261
262
|
"no-undefined": "off",
|
|
262
263
|
"no-underscore-dangle": [
|
|
@@ -649,7 +650,6 @@ export default [
|
|
|
649
650
|
"unicorn/no-array-callback-reference": "off",
|
|
650
651
|
"unicorn/no-array-for-each": "off",
|
|
651
652
|
"unicorn/no-array-method-this-argument": "error",
|
|
652
|
-
"unicorn/no-array-push-push": "error",
|
|
653
653
|
"unicorn/no-array-reduce": "off",
|
|
654
654
|
"unicorn/no-await-expression-member": "error",
|
|
655
655
|
"unicorn/no-await-in-promise-methods": "error",
|
|
@@ -663,7 +663,6 @@ export default [
|
|
|
663
663
|
"unicorn/no-invalid-fetch-options": "error",
|
|
664
664
|
"unicorn/no-invalid-remove-event-listener": "error",
|
|
665
665
|
"unicorn/no-keyword-prefix": "off",
|
|
666
|
-
"unicorn/no-length-as-slice-end": "error",
|
|
667
666
|
"unicorn/no-lonely-if": "error",
|
|
668
667
|
"unicorn/no-magic-array-flat-depth": "error",
|
|
669
668
|
"unicorn/no-named-default": "error",
|
|
@@ -679,7 +678,10 @@ export default [
|
|
|
679
678
|
"unicorn/no-static-only-class": "error",
|
|
680
679
|
"unicorn/no-thenable": "error",
|
|
681
680
|
"unicorn/no-this-assignment": "error",
|
|
681
|
+
"unicorn/no-unnecessary-array-flat-depth": "error",
|
|
682
|
+
"unicorn/no-unnecessary-array-splice-count": "error",
|
|
682
683
|
"unicorn/no-unnecessary-await": "error",
|
|
684
|
+
"unicorn/no-unnecessary-slice-end": "error",
|
|
683
685
|
"unicorn/no-unreadable-array-destructuring": "error",
|
|
684
686
|
"unicorn/no-unreadable-iife": "error",
|
|
685
687
|
"unicorn/no-unused-properties": "error",
|
|
@@ -710,6 +712,7 @@ export default [
|
|
|
710
712
|
"unicorn/prefer-event-target": "off",
|
|
711
713
|
"unicorn/prefer-export-from": "off",
|
|
712
714
|
"unicorn/prefer-global-this": "off",
|
|
715
|
+
"unicorn/prefer-import-meta-properties": "error",
|
|
713
716
|
"unicorn/prefer-includes": "error",
|
|
714
717
|
"unicorn/prefer-json-parse-buffer": "error",
|
|
715
718
|
"unicorn/prefer-keyboard-event-key": "error",
|
|
@@ -731,6 +734,7 @@ export default [
|
|
|
731
734
|
"unicorn/prefer-regexp-test": "error",
|
|
732
735
|
"unicorn/prefer-set-has": "error",
|
|
733
736
|
"unicorn/prefer-set-size": "error",
|
|
737
|
+
"unicorn/prefer-single-call": "error",
|
|
734
738
|
"unicorn/prefer-spread": "error",
|
|
735
739
|
"unicorn/prefer-string-raw": "error",
|
|
736
740
|
"unicorn/prefer-string-replace-all": "error",
|
|
@@ -994,6 +998,7 @@ export default [
|
|
|
994
998
|
"@typescript-eslint/no-unnecessary-type-arguments": "error",
|
|
995
999
|
"@typescript-eslint/no-unnecessary-type-assertion": "error",
|
|
996
1000
|
"@typescript-eslint/no-unnecessary-type-constraint": "error",
|
|
1001
|
+
"@typescript-eslint/no-unnecessary-type-conversion": "error",
|
|
997
1002
|
"@typescript-eslint/no-unnecessary-type-parameters": "error",
|
|
998
1003
|
"@typescript-eslint/no-unsafe-argument": "error",
|
|
999
1004
|
"@typescript-eslint/no-unsafe-assignment": "error",
|
|
@@ -1238,6 +1243,7 @@ export default [
|
|
|
1238
1243
|
"testing-library/no-node-access": "error",
|
|
1239
1244
|
"testing-library/no-promise-in-fire-event": "off",
|
|
1240
1245
|
"testing-library/no-render-in-lifecycle": "error",
|
|
1246
|
+
"testing-library/no-test-id-queries": "error",
|
|
1241
1247
|
"testing-library/no-unnecessary-act": "error",
|
|
1242
1248
|
"testing-library/no-wait-for-multiple-assertions": "error",
|
|
1243
1249
|
"testing-library/no-wait-for-side-effects": "error",
|
package/nodeWithBiome.js
CHANGED
|
@@ -228,6 +228,7 @@ export default [
|
|
|
228
228
|
"no-shadow-restricted-names": "off",
|
|
229
229
|
"no-ternary": "off",
|
|
230
230
|
"no-throw-literal": "off",
|
|
231
|
+
"no-unassigned-vars": "error",
|
|
231
232
|
"no-undef-init": "off",
|
|
232
233
|
"no-undefined": "off",
|
|
233
234
|
"no-underscore-dangle": [
|
|
@@ -565,7 +566,6 @@ export default [
|
|
|
565
566
|
"unicorn/no-array-callback-reference": "off",
|
|
566
567
|
"unicorn/no-array-for-each": "off",
|
|
567
568
|
"unicorn/no-array-method-this-argument": "error",
|
|
568
|
-
"unicorn/no-array-push-push": "error",
|
|
569
569
|
"unicorn/no-array-reduce": "off",
|
|
570
570
|
"unicorn/no-await-expression-member": "error",
|
|
571
571
|
"unicorn/no-await-in-promise-methods": "error",
|
|
@@ -579,7 +579,6 @@ export default [
|
|
|
579
579
|
"unicorn/no-invalid-fetch-options": "error",
|
|
580
580
|
"unicorn/no-invalid-remove-event-listener": "error",
|
|
581
581
|
"unicorn/no-keyword-prefix": "off",
|
|
582
|
-
"unicorn/no-length-as-slice-end": "error",
|
|
583
582
|
"unicorn/no-lonely-if": "off",
|
|
584
583
|
"unicorn/no-magic-array-flat-depth": "error",
|
|
585
584
|
"unicorn/no-named-default": "error",
|
|
@@ -595,7 +594,10 @@ export default [
|
|
|
595
594
|
"unicorn/no-static-only-class": "off",
|
|
596
595
|
"unicorn/no-thenable": "off",
|
|
597
596
|
"unicorn/no-this-assignment": "error",
|
|
597
|
+
"unicorn/no-unnecessary-array-flat-depth": "error",
|
|
598
|
+
"unicorn/no-unnecessary-array-splice-count": "error",
|
|
598
599
|
"unicorn/no-unnecessary-await": "error",
|
|
600
|
+
"unicorn/no-unnecessary-slice-end": "error",
|
|
599
601
|
"unicorn/no-unreadable-array-destructuring": "error",
|
|
600
602
|
"unicorn/no-unreadable-iife": "error",
|
|
601
603
|
"unicorn/no-unused-properties": "error",
|
|
@@ -626,6 +628,7 @@ export default [
|
|
|
626
628
|
"unicorn/prefer-event-target": "off",
|
|
627
629
|
"unicorn/prefer-export-from": "off",
|
|
628
630
|
"unicorn/prefer-global-this": "off",
|
|
631
|
+
"unicorn/prefer-import-meta-properties": "error",
|
|
629
632
|
"unicorn/prefer-includes": "error",
|
|
630
633
|
"unicorn/prefer-json-parse-buffer": "error",
|
|
631
634
|
"unicorn/prefer-keyboard-event-key": "error",
|
|
@@ -647,6 +650,7 @@ export default [
|
|
|
647
650
|
"unicorn/prefer-regexp-test": "error",
|
|
648
651
|
"unicorn/prefer-set-has": "error",
|
|
649
652
|
"unicorn/prefer-set-size": "error",
|
|
653
|
+
"unicorn/prefer-single-call": "error",
|
|
650
654
|
"unicorn/prefer-spread": "error",
|
|
651
655
|
"unicorn/prefer-string-raw": "error",
|
|
652
656
|
"unicorn/prefer-string-replace-all": "error",
|
|
@@ -863,6 +867,7 @@ export default [
|
|
|
863
867
|
"@typescript-eslint/no-unnecessary-type-arguments": "error",
|
|
864
868
|
"@typescript-eslint/no-unnecessary-type-assertion": "error",
|
|
865
869
|
"@typescript-eslint/no-unnecessary-type-constraint": "off",
|
|
870
|
+
"@typescript-eslint/no-unnecessary-type-conversion": "error",
|
|
866
871
|
"@typescript-eslint/no-unnecessary-type-parameters": "error",
|
|
867
872
|
"@typescript-eslint/no-unsafe-argument": "error",
|
|
868
873
|
"@typescript-eslint/no-unsafe-assignment": "error",
|
|
@@ -1095,6 +1100,7 @@ export default [
|
|
|
1095
1100
|
"testing-library/no-node-access": "error",
|
|
1096
1101
|
"testing-library/no-promise-in-fire-event": "off",
|
|
1097
1102
|
"testing-library/no-render-in-lifecycle": "error",
|
|
1103
|
+
"testing-library/no-test-id-queries": "error",
|
|
1098
1104
|
"testing-library/no-unnecessary-act": "error",
|
|
1099
1105
|
"testing-library/no-wait-for-multiple-assertions": "error",
|
|
1100
1106
|
"testing-library/no-wait-for-side-effects": "error",
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "eslint-config-heck",
|
|
3
|
-
"version": "6.0
|
|
3
|
+
"version": "6.2.0",
|
|
4
4
|
"description": "Contains an ESLint configuration for ES2015+, TypeScript, and React.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "index.js",
|
|
@@ -29,16 +29,16 @@
|
|
|
29
29
|
"license": "MIT",
|
|
30
30
|
"dependencies": {
|
|
31
31
|
"@stylistic/eslint-plugin": "4.2.0",
|
|
32
|
-
"@typescript-eslint/eslint-plugin": "8.
|
|
33
|
-
"@typescript-eslint/parser": "8.
|
|
34
|
-
"eslint": "9.
|
|
32
|
+
"@typescript-eslint/eslint-plugin": "8.32.1",
|
|
33
|
+
"@typescript-eslint/parser": "8.32.1",
|
|
34
|
+
"eslint": "9.27.0",
|
|
35
35
|
"eslint-plugin-import": "2.31.0",
|
|
36
36
|
"eslint-plugin-jest": "28.11.0",
|
|
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.
|
|
41
|
-
"eslint-plugin-unicorn": "
|
|
40
|
+
"eslint-plugin-testing-library": "7.2.1",
|
|
41
|
+
"eslint-plugin-unicorn": "59.0.1",
|
|
42
42
|
"typescript": "5.8.3"
|
|
43
43
|
},
|
|
44
44
|
"devDependencies": {
|
|
@@ -46,11 +46,11 @@
|
|
|
46
46
|
"@testing-library/dom": "10.4.0",
|
|
47
47
|
"@testing-library/react": "16.3.0",
|
|
48
48
|
"@types/jest": "29.5.14",
|
|
49
|
-
"@types/react": "19.1.
|
|
50
|
-
"globals": "16.
|
|
49
|
+
"@types/react": "19.1.4",
|
|
50
|
+
"globals": "16.1.0",
|
|
51
51
|
"jest": "29.7.0",
|
|
52
52
|
"react": "19.1.0",
|
|
53
|
-
"semantic-release": "24.2.
|
|
53
|
+
"semantic-release": "24.2.4"
|
|
54
54
|
},
|
|
55
55
|
"repository": {
|
|
56
56
|
"type": "git",
|