eslint-config-heck 6.0.3 → 6.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 +5 -2
- package/nodeWithBiome.js +5 -2
- package/package.json +6 -6
package/node.js
CHANGED
|
@@ -649,7 +649,6 @@ export default [
|
|
|
649
649
|
"unicorn/no-array-callback-reference": "off",
|
|
650
650
|
"unicorn/no-array-for-each": "off",
|
|
651
651
|
"unicorn/no-array-method-this-argument": "error",
|
|
652
|
-
"unicorn/no-array-push-push": "error",
|
|
653
652
|
"unicorn/no-array-reduce": "off",
|
|
654
653
|
"unicorn/no-await-expression-member": "error",
|
|
655
654
|
"unicorn/no-await-in-promise-methods": "error",
|
|
@@ -663,7 +662,6 @@ export default [
|
|
|
663
662
|
"unicorn/no-invalid-fetch-options": "error",
|
|
664
663
|
"unicorn/no-invalid-remove-event-listener": "error",
|
|
665
664
|
"unicorn/no-keyword-prefix": "off",
|
|
666
|
-
"unicorn/no-length-as-slice-end": "error",
|
|
667
665
|
"unicorn/no-lonely-if": "error",
|
|
668
666
|
"unicorn/no-magic-array-flat-depth": "error",
|
|
669
667
|
"unicorn/no-named-default": "error",
|
|
@@ -679,7 +677,10 @@ export default [
|
|
|
679
677
|
"unicorn/no-static-only-class": "error",
|
|
680
678
|
"unicorn/no-thenable": "error",
|
|
681
679
|
"unicorn/no-this-assignment": "error",
|
|
680
|
+
"unicorn/no-unnecessary-array-flat-depth": "error",
|
|
681
|
+
"unicorn/no-unnecessary-array-splice-count": "error",
|
|
682
682
|
"unicorn/no-unnecessary-await": "error",
|
|
683
|
+
"unicorn/no-unnecessary-slice-end": "error",
|
|
683
684
|
"unicorn/no-unreadable-array-destructuring": "error",
|
|
684
685
|
"unicorn/no-unreadable-iife": "error",
|
|
685
686
|
"unicorn/no-unused-properties": "error",
|
|
@@ -710,6 +711,7 @@ export default [
|
|
|
710
711
|
"unicorn/prefer-event-target": "off",
|
|
711
712
|
"unicorn/prefer-export-from": "off",
|
|
712
713
|
"unicorn/prefer-global-this": "off",
|
|
714
|
+
"unicorn/prefer-import-meta-properties": "error",
|
|
713
715
|
"unicorn/prefer-includes": "error",
|
|
714
716
|
"unicorn/prefer-json-parse-buffer": "error",
|
|
715
717
|
"unicorn/prefer-keyboard-event-key": "error",
|
|
@@ -731,6 +733,7 @@ export default [
|
|
|
731
733
|
"unicorn/prefer-regexp-test": "error",
|
|
732
734
|
"unicorn/prefer-set-has": "error",
|
|
733
735
|
"unicorn/prefer-set-size": "error",
|
|
736
|
+
"unicorn/prefer-single-call": "error",
|
|
734
737
|
"unicorn/prefer-spread": "error",
|
|
735
738
|
"unicorn/prefer-string-raw": "error",
|
|
736
739
|
"unicorn/prefer-string-replace-all": "error",
|
package/nodeWithBiome.js
CHANGED
|
@@ -565,7 +565,6 @@ export default [
|
|
|
565
565
|
"unicorn/no-array-callback-reference": "off",
|
|
566
566
|
"unicorn/no-array-for-each": "off",
|
|
567
567
|
"unicorn/no-array-method-this-argument": "error",
|
|
568
|
-
"unicorn/no-array-push-push": "error",
|
|
569
568
|
"unicorn/no-array-reduce": "off",
|
|
570
569
|
"unicorn/no-await-expression-member": "error",
|
|
571
570
|
"unicorn/no-await-in-promise-methods": "error",
|
|
@@ -579,7 +578,6 @@ export default [
|
|
|
579
578
|
"unicorn/no-invalid-fetch-options": "error",
|
|
580
579
|
"unicorn/no-invalid-remove-event-listener": "error",
|
|
581
580
|
"unicorn/no-keyword-prefix": "off",
|
|
582
|
-
"unicorn/no-length-as-slice-end": "error",
|
|
583
581
|
"unicorn/no-lonely-if": "off",
|
|
584
582
|
"unicorn/no-magic-array-flat-depth": "error",
|
|
585
583
|
"unicorn/no-named-default": "error",
|
|
@@ -595,7 +593,10 @@ export default [
|
|
|
595
593
|
"unicorn/no-static-only-class": "off",
|
|
596
594
|
"unicorn/no-thenable": "off",
|
|
597
595
|
"unicorn/no-this-assignment": "error",
|
|
596
|
+
"unicorn/no-unnecessary-array-flat-depth": "error",
|
|
597
|
+
"unicorn/no-unnecessary-array-splice-count": "error",
|
|
598
598
|
"unicorn/no-unnecessary-await": "error",
|
|
599
|
+
"unicorn/no-unnecessary-slice-end": "error",
|
|
599
600
|
"unicorn/no-unreadable-array-destructuring": "error",
|
|
600
601
|
"unicorn/no-unreadable-iife": "error",
|
|
601
602
|
"unicorn/no-unused-properties": "error",
|
|
@@ -626,6 +627,7 @@ export default [
|
|
|
626
627
|
"unicorn/prefer-event-target": "off",
|
|
627
628
|
"unicorn/prefer-export-from": "off",
|
|
628
629
|
"unicorn/prefer-global-this": "off",
|
|
630
|
+
"unicorn/prefer-import-meta-properties": "error",
|
|
629
631
|
"unicorn/prefer-includes": "error",
|
|
630
632
|
"unicorn/prefer-json-parse-buffer": "error",
|
|
631
633
|
"unicorn/prefer-keyboard-event-key": "error",
|
|
@@ -647,6 +649,7 @@ export default [
|
|
|
647
649
|
"unicorn/prefer-regexp-test": "error",
|
|
648
650
|
"unicorn/prefer-set-has": "error",
|
|
649
651
|
"unicorn/prefer-set-size": "error",
|
|
652
|
+
"unicorn/prefer-single-call": "error",
|
|
650
653
|
"unicorn/prefer-spread": "error",
|
|
651
654
|
"unicorn/prefer-string-raw": "error",
|
|
652
655
|
"unicorn/prefer-string-replace-all": "error",
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "eslint-config-heck",
|
|
3
|
-
"version": "6.0
|
|
3
|
+
"version": "6.1.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.31.1",
|
|
33
|
+
"@typescript-eslint/parser": "8.31.1",
|
|
34
|
+
"eslint": "9.26.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
40
|
"eslint-plugin-testing-library": "7.1.1",
|
|
41
|
-
"eslint-plugin-unicorn": "
|
|
41
|
+
"eslint-plugin-unicorn": "59.0.0",
|
|
42
42
|
"typescript": "5.8.3"
|
|
43
43
|
},
|
|
44
44
|
"devDependencies": {
|
|
@@ -46,7 +46,7 @@
|
|
|
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.
|
|
49
|
+
"@types/react": "19.1.2",
|
|
50
50
|
"globals": "16.0.0",
|
|
51
51
|
"jest": "29.7.0",
|
|
52
52
|
"react": "19.1.0",
|