eslint-config-heck 2.13.0 → 2.14.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.cjs +8 -0
- package/nodeWithBiome.cjs +8 -0
- package/package.json +8 -8
package/node.cjs
CHANGED
|
@@ -626,6 +626,7 @@ const rules = {
|
|
|
626
626
|
"react/jsx-one-expression-per-line": "error",
|
|
627
627
|
"react/jsx-pascal-case": "error",
|
|
628
628
|
"react/jsx-props-no-multi-spaces": "error",
|
|
629
|
+
"react/jsx-props-no-spread-multi": "error",
|
|
629
630
|
"react/jsx-props-no-spreading": "off",
|
|
630
631
|
"react/jsx-sort-props": "off",
|
|
631
632
|
"react/jsx-tag-spacing": [
|
|
@@ -781,6 +782,7 @@ const rules = {
|
|
|
781
782
|
"unicorn/no-invalid-fetch-options": "error",
|
|
782
783
|
"unicorn/no-invalid-remove-event-listener": "error",
|
|
783
784
|
"unicorn/no-keyword-prefix": "off",
|
|
785
|
+
"unicorn/no-length-as-slice-end": "error",
|
|
784
786
|
"unicorn/no-lonely-if": "error",
|
|
785
787
|
"unicorn/no-magic-array-flat-depth": "error",
|
|
786
788
|
"unicorn/no-negated-condition": "error",
|
|
@@ -1045,6 +1047,7 @@ const overrides = [
|
|
|
1045
1047
|
"@typescript-eslint/no-duplicate-enum-values": "error",
|
|
1046
1048
|
"@typescript-eslint/no-duplicate-type-constituents": "error",
|
|
1047
1049
|
"@typescript-eslint/no-dynamic-delete": "error",
|
|
1050
|
+
"@typescript-eslint/no-empty-object-type": "error",
|
|
1048
1051
|
"@typescript-eslint/no-explicit-any": "error",
|
|
1049
1052
|
"@typescript-eslint/no-extra-non-null-assertion": "error",
|
|
1050
1053
|
"@typescript-eslint/no-extraneous-class": "error",
|
|
@@ -1077,21 +1080,26 @@ const overrides = [
|
|
|
1077
1080
|
"@typescript-eslint/no-type-alias": "off",
|
|
1078
1081
|
"@typescript-eslint/no-unnecessary-boolean-literal-compare": "error",
|
|
1079
1082
|
"@typescript-eslint/no-unnecessary-condition": "error",
|
|
1083
|
+
"@typescript-eslint/no-unnecessary-parameter-property-assignment":
|
|
1084
|
+
"error",
|
|
1080
1085
|
"@typescript-eslint/no-unnecessary-qualifier": "error",
|
|
1081
1086
|
"@typescript-eslint/no-unnecessary-type-arguments": "error",
|
|
1082
1087
|
"@typescript-eslint/no-unnecessary-type-assertion": "error",
|
|
1083
1088
|
"@typescript-eslint/no-unnecessary-type-constraint": "error",
|
|
1089
|
+
"@typescript-eslint/no-unnecessary-type-parameters": "error",
|
|
1084
1090
|
"@typescript-eslint/no-unsafe-argument": "error",
|
|
1085
1091
|
"@typescript-eslint/no-unsafe-assignment": "error",
|
|
1086
1092
|
"@typescript-eslint/no-unsafe-call": "error",
|
|
1087
1093
|
"@typescript-eslint/no-unsafe-declaration-merging": "error",
|
|
1088
1094
|
"@typescript-eslint/no-unsafe-enum-comparison": "error",
|
|
1095
|
+
"@typescript-eslint/no-unsafe-function-type": "error",
|
|
1089
1096
|
"@typescript-eslint/no-unsafe-member-access": "error",
|
|
1090
1097
|
"@typescript-eslint/no-unsafe-return": "error",
|
|
1091
1098
|
"@typescript-eslint/no-unsafe-unary-minus": "error",
|
|
1092
1099
|
"@typescript-eslint/no-useless-empty-export": "error",
|
|
1093
1100
|
"@typescript-eslint/no-unnecessary-template-expression": "error",
|
|
1094
1101
|
"@typescript-eslint/no-var-requires": "error",
|
|
1102
|
+
"@typescript-eslint/no-wrapper-object-types": "error",
|
|
1095
1103
|
"@typescript-eslint/non-nullable-type-assertion-style": "off",
|
|
1096
1104
|
"@typescript-eslint/parameter-properties": "off",
|
|
1097
1105
|
"@typescript-eslint/prefer-as-const": "error",
|
package/nodeWithBiome.cjs
CHANGED
|
@@ -489,6 +489,7 @@ const rules = {
|
|
|
489
489
|
"react/jsx-one-expression-per-line": "off",
|
|
490
490
|
"react/jsx-pascal-case": "error",
|
|
491
491
|
"react/jsx-props-no-multi-spaces": "off",
|
|
492
|
+
"react/jsx-props-no-spread-multi": "error",
|
|
492
493
|
"react/jsx-props-no-spreading": "off",
|
|
493
494
|
"react/jsx-sort-props": "off",
|
|
494
495
|
"react/jsx-tag-spacing": "off",
|
|
@@ -619,6 +620,7 @@ const rules = {
|
|
|
619
620
|
"unicorn/no-instanceof-array": "off",
|
|
620
621
|
"unicorn/no-invalid-remove-event-listener": "error",
|
|
621
622
|
"unicorn/no-keyword-prefix": "off",
|
|
623
|
+
"unicorn/no-length-as-slice-end": "error",
|
|
622
624
|
"unicorn/no-lonely-if": "off",
|
|
623
625
|
"unicorn/no-negated-condition": "off",
|
|
624
626
|
"unicorn/no-negation-in-equality-check": "error",
|
|
@@ -821,6 +823,7 @@ const overrides = [
|
|
|
821
823
|
"@typescript-eslint/no-duplicate-enum-values": "error",
|
|
822
824
|
"@typescript-eslint/no-duplicate-type-constituents": "error",
|
|
823
825
|
"@typescript-eslint/no-dynamic-delete": "error",
|
|
826
|
+
"@typescript-eslint/no-empty-object-type": "off",
|
|
824
827
|
"@typescript-eslint/no-explicit-any": "off",
|
|
825
828
|
"@typescript-eslint/no-extra-non-null-assertion": "off",
|
|
826
829
|
"@typescript-eslint/no-extraneous-class": "error",
|
|
@@ -848,21 +851,26 @@ const overrides = [
|
|
|
848
851
|
"@typescript-eslint/no-type-alias": "off",
|
|
849
852
|
"@typescript-eslint/no-unnecessary-boolean-literal-compare": "error",
|
|
850
853
|
"@typescript-eslint/no-unnecessary-condition": "error",
|
|
854
|
+
"@typescript-eslint/no-unnecessary-parameter-property-assignment":
|
|
855
|
+
"error",
|
|
851
856
|
"@typescript-eslint/no-unnecessary-qualifier": "error",
|
|
852
857
|
"@typescript-eslint/no-unnecessary-type-arguments": "error",
|
|
853
858
|
"@typescript-eslint/no-unnecessary-type-assertion": "error",
|
|
854
859
|
"@typescript-eslint/no-unnecessary-type-constraint": "off",
|
|
860
|
+
"@typescript-eslint/no-unnecessary-type-parameters": "error",
|
|
855
861
|
"@typescript-eslint/no-unsafe-argument": "error",
|
|
856
862
|
"@typescript-eslint/no-unsafe-assignment": "error",
|
|
857
863
|
"@typescript-eslint/no-unsafe-call": "error",
|
|
858
864
|
"@typescript-eslint/no-unsafe-declaration-merging": "off",
|
|
859
865
|
"@typescript-eslint/no-unsafe-enum-comparison": "error",
|
|
866
|
+
"@typescript-eslint/no-unsafe-function-type": "off",
|
|
860
867
|
"@typescript-eslint/no-unsafe-member-access": "error",
|
|
861
868
|
"@typescript-eslint/no-unsafe-return": "error",
|
|
862
869
|
"@typescript-eslint/no-unsafe-unary-minus": "error",
|
|
863
870
|
"@typescript-eslint/no-useless-empty-export": "off",
|
|
864
871
|
"@typescript-eslint/no-unnecessary-template-expression": "error",
|
|
865
872
|
"@typescript-eslint/no-var-requires": "error",
|
|
873
|
+
"@typescript-eslint/no-wrapper-object-types": "off",
|
|
866
874
|
"@typescript-eslint/non-nullable-type-assertion-style": "off",
|
|
867
875
|
"@typescript-eslint/parameter-properties": "off",
|
|
868
876
|
"@typescript-eslint/prefer-as-const": "off",
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "eslint-config-heck",
|
|
3
|
-
"version": "2.
|
|
3
|
+
"version": "2.14.0",
|
|
4
4
|
"description": "Contains an ESLint configuration for ES2015+, TypeScript, and React.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "index.js",
|
|
@@ -29,24 +29,24 @@
|
|
|
29
29
|
"author": "atheck",
|
|
30
30
|
"license": "MIT",
|
|
31
31
|
"dependencies": {
|
|
32
|
-
"@typescript-eslint/eslint-plugin": "7.
|
|
33
|
-
"@typescript-eslint/parser": "7.
|
|
32
|
+
"@typescript-eslint/eslint-plugin": "7.18.0",
|
|
33
|
+
"@typescript-eslint/parser": "7.18.0",
|
|
34
34
|
"eslint": "8.57.0",
|
|
35
35
|
"eslint-import-resolver-typescript": "3.6.1",
|
|
36
36
|
"eslint-plugin-deprecation": "3.0.0",
|
|
37
37
|
"eslint-plugin-import": "2.29.1",
|
|
38
38
|
"eslint-plugin-jest": "28.6.0",
|
|
39
|
-
"eslint-plugin-react": "7.
|
|
39
|
+
"eslint-plugin-react": "7.35.0",
|
|
40
40
|
"eslint-plugin-react-hooks": "4.6.2",
|
|
41
41
|
"eslint-plugin-react-native": "4.1.0",
|
|
42
42
|
"eslint-plugin-testing-library": "6.2.2",
|
|
43
43
|
"eslint-plugin-typescript-heck": "1.3.1",
|
|
44
|
-
"eslint-plugin-unicorn": "
|
|
45
|
-
"typescript": "5.5.
|
|
44
|
+
"eslint-plugin-unicorn": "55.0.0",
|
|
45
|
+
"typescript": "5.5.4"
|
|
46
46
|
},
|
|
47
47
|
"devDependencies": {
|
|
48
|
-
"@biomejs/biome": "1.8.
|
|
49
|
-
"@testing-library/dom": "10.
|
|
48
|
+
"@biomejs/biome": "1.8.3",
|
|
49
|
+
"@testing-library/dom": "10.4.0",
|
|
50
50
|
"@testing-library/react": "16.0.0",
|
|
51
51
|
"@types/jest": "29.5.12",
|
|
52
52
|
"@types/react": "18.3.3",
|