eslint-config-heck 9.2.2 → 9.3.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/biomeCss.json +1 -0
- package/biomeJsTs.json +3 -0
- package/node.js +4 -0
- package/nodeWithBiome.js +7 -4
- package/package.json +8 -8
package/biomeCss.json
CHANGED
package/biomeJsTs.json
CHANGED
|
@@ -162,7 +162,9 @@
|
|
|
162
162
|
"noFloatingClasses": "error",
|
|
163
163
|
"noFloatingPromises": "error",
|
|
164
164
|
"noForIn": "warn",
|
|
165
|
+
"noImpliedEval": "error",
|
|
165
166
|
"noIncrementDecrement": "off",
|
|
167
|
+
"noInlineStyles": "warn",
|
|
166
168
|
"noJsxPropsBind": "off",
|
|
167
169
|
"noLeakedRender": "error",
|
|
168
170
|
"noMisusedPromises": "error",
|
|
@@ -190,6 +192,7 @@
|
|
|
190
192
|
"noUndeclaredEnvVars": "off",
|
|
191
193
|
"noUnknownAttribute": "error",
|
|
192
194
|
"noUnnecessaryConditions": "off",
|
|
195
|
+
"noUnsafePlusOperands": "error",
|
|
193
196
|
"noUselessReturn": "error",
|
|
194
197
|
"useArraySome": "error",
|
|
195
198
|
"useArraySortCompare": "error",
|
package/node.js
CHANGED
|
@@ -631,6 +631,7 @@ export default [
|
|
|
631
631
|
checkArrowFunctions: false,
|
|
632
632
|
},
|
|
633
633
|
],
|
|
634
|
+
"unicorn/consistent-template-literal-escape": "error",
|
|
634
635
|
"unicorn/custom-error-definition": "off",
|
|
635
636
|
"unicorn/empty-brace-spaces": "off",
|
|
636
637
|
"unicorn/error-message": "error",
|
|
@@ -698,6 +699,7 @@ export default [
|
|
|
698
699
|
"unicorn/no-useless-collection-argument": "error",
|
|
699
700
|
"unicorn/no-useless-error-capture-stack-trace": "error",
|
|
700
701
|
"unicorn/no-useless-fallback-in-spread": "error",
|
|
702
|
+
"unicorn/no-useless-iterator-to-array": "error",
|
|
701
703
|
"unicorn/no-useless-length-check": "error",
|
|
702
704
|
"unicorn/no-useless-promise-resolve-reject": "error",
|
|
703
705
|
"unicorn/no-useless-spread": "error",
|
|
@@ -750,6 +752,7 @@ export default [
|
|
|
750
752
|
"unicorn/prefer-response-static-json": "error",
|
|
751
753
|
"unicorn/prefer-set-has": "error",
|
|
752
754
|
"unicorn/prefer-set-size": "error",
|
|
755
|
+
"unicorn/prefer-simple-condition-first": "warn",
|
|
753
756
|
"unicorn/prefer-single-call": "error",
|
|
754
757
|
"unicorn/prefer-spread": "error",
|
|
755
758
|
"unicorn/prefer-string-raw": "error",
|
|
@@ -773,6 +776,7 @@ export default [
|
|
|
773
776
|
"unicorn/require-post-message-target-origin": "error",
|
|
774
777
|
"unicorn/string-content": "off",
|
|
775
778
|
"unicorn/switch-case-braces": ["error", "avoid"],
|
|
779
|
+
"unicorn/switch-case-break-position": "error",
|
|
776
780
|
"unicorn/template-indent": "off",
|
|
777
781
|
"unicorn/text-encoding-identifier-case": "error",
|
|
778
782
|
"unicorn/throw-new-error": "error",
|
package/nodeWithBiome.js
CHANGED
|
@@ -182,7 +182,7 @@ export default [
|
|
|
182
182
|
"no-global-assign": "off",
|
|
183
183
|
"no-implicit-coercion": "off",
|
|
184
184
|
"no-implicit-globals": "off",
|
|
185
|
-
"no-implied-eval": "
|
|
185
|
+
"no-implied-eval": "off",
|
|
186
186
|
"no-inline-comments": "error",
|
|
187
187
|
"no-invalid-this": "error",
|
|
188
188
|
"no-iterator": "error",
|
|
@@ -529,6 +529,7 @@ export default [
|
|
|
529
529
|
checkArrowFunctions: false,
|
|
530
530
|
},
|
|
531
531
|
],
|
|
532
|
+
"unicorn/consistent-template-literal-escape": "error",
|
|
532
533
|
"unicorn/custom-error-definition": "off",
|
|
533
534
|
"unicorn/empty-brace-spaces": "off",
|
|
534
535
|
"unicorn/error-message": "off",
|
|
@@ -586,6 +587,7 @@ export default [
|
|
|
586
587
|
"unicorn/no-useless-collection-argument": "error",
|
|
587
588
|
"unicorn/no-useless-error-capture-stack-trace": "error",
|
|
588
589
|
"unicorn/no-useless-fallback-in-spread": "error",
|
|
590
|
+
"unicorn/no-useless-iterator-to-array": "error",
|
|
589
591
|
"unicorn/no-useless-length-check": "error",
|
|
590
592
|
"unicorn/no-useless-promise-resolve-reject": "error",
|
|
591
593
|
"unicorn/no-useless-spread": "error",
|
|
@@ -638,6 +640,7 @@ export default [
|
|
|
638
640
|
"unicorn/prefer-response-static-json": "error",
|
|
639
641
|
"unicorn/prefer-set-has": "error",
|
|
640
642
|
"unicorn/prefer-set-size": "error",
|
|
643
|
+
"unicorn/prefer-simple-condition-first": "warn",
|
|
641
644
|
"unicorn/prefer-single-call": "error",
|
|
642
645
|
"unicorn/prefer-spread": "error",
|
|
643
646
|
"unicorn/prefer-string-raw": "error",
|
|
@@ -661,6 +664,7 @@ export default [
|
|
|
661
664
|
"unicorn/require-post-message-target-origin": "error",
|
|
662
665
|
"unicorn/string-content": "off",
|
|
663
666
|
"unicorn/switch-case-braces": "off",
|
|
667
|
+
"unicorn/switch-case-break-position": "error",
|
|
664
668
|
"unicorn/template-indent": "off",
|
|
665
669
|
"unicorn/text-encoding-identifier-case": "error",
|
|
666
670
|
"unicorn/throw-new-error": "off",
|
|
@@ -795,8 +799,7 @@ export default [
|
|
|
795
799
|
"@typescript-eslint/no-extraneous-class": "error",
|
|
796
800
|
"@typescript-eslint/no-floating-promises": "off",
|
|
797
801
|
"@typescript-eslint/no-for-in-array": "off",
|
|
798
|
-
"no-implied-eval": "off",
|
|
799
|
-
"@typescript-eslint/no-implied-eval": "error",
|
|
802
|
+
"@typescript-eslint/no-implied-eval": "off",
|
|
800
803
|
"@typescript-eslint/no-import-type-side-effects": "off",
|
|
801
804
|
"@typescript-eslint/no-inferrable-types": "off",
|
|
802
805
|
"no-invalid-this": "off",
|
|
@@ -909,7 +912,7 @@ export default [
|
|
|
909
912
|
"@typescript-eslint/require-array-sort-compare": "off",
|
|
910
913
|
"require-await": "off",
|
|
911
914
|
"@typescript-eslint/require-await": "off",
|
|
912
|
-
"@typescript-eslint/restrict-plus-operands": "
|
|
915
|
+
"@typescript-eslint/restrict-plus-operands": "off",
|
|
913
916
|
"@typescript-eslint/restrict-template-expressions": "off",
|
|
914
917
|
"@typescript-eslint/return-await": "off",
|
|
915
918
|
"@typescript-eslint/strict-boolean-expressions": "off",
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "eslint-config-heck",
|
|
3
|
-
"version": "9.
|
|
3
|
+
"version": "9.3.1",
|
|
4
4
|
"description": "Contains an ESLint configuration for ES2015+, TypeScript, and React.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "index.js",
|
|
@@ -15,7 +15,7 @@
|
|
|
15
15
|
"./reactNative": "./reactNative.js"
|
|
16
16
|
},
|
|
17
17
|
"scripts": {
|
|
18
|
-
"update": "npx -y npm-check-updates -i --install never && npx -y npm-check-updates -i --target minor --install never && npx -y npm-check-updates -i --target patch --install never && npm update --force",
|
|
18
|
+
"update": "npx -y npm-check-updates -i --cooldown 2 --install never && npx -y npm-check-updates -i --cooldown 2 --target minor --install never && npx -y npm-check-updates -i --cooldown 2 --target patch --install never && npm update --force",
|
|
19
19
|
"lint": "eslint .",
|
|
20
20
|
"semantic-release": "semantic-release"
|
|
21
21
|
},
|
|
@@ -29,20 +29,20 @@
|
|
|
29
29
|
"license": "MIT",
|
|
30
30
|
"dependencies": {
|
|
31
31
|
"@stylistic/eslint-plugin": "5.10.0",
|
|
32
|
-
"@typescript-eslint/eslint-plugin": "8.
|
|
33
|
-
"@typescript-eslint/parser": "8.
|
|
32
|
+
"@typescript-eslint/eslint-plugin": "8.58.0",
|
|
33
|
+
"@typescript-eslint/parser": "8.58.0",
|
|
34
34
|
"eslint": "9.39.4",
|
|
35
35
|
"eslint-plugin-import": "2.32.0",
|
|
36
|
-
"eslint-plugin-jest": "29.15.
|
|
36
|
+
"eslint-plugin-jest": "29.15.1",
|
|
37
37
|
"eslint-plugin-react": "7.37.5",
|
|
38
38
|
"eslint-plugin-react-hooks": "7.0.1",
|
|
39
39
|
"eslint-plugin-react-native": "5.0.0",
|
|
40
|
-
"eslint-plugin-testing-library": "7.16.
|
|
41
|
-
"eslint-plugin-unicorn": "
|
|
40
|
+
"eslint-plugin-testing-library": "7.16.2",
|
|
41
|
+
"eslint-plugin-unicorn": "64.0.0",
|
|
42
42
|
"typescript": "5.9.3"
|
|
43
43
|
},
|
|
44
44
|
"devDependencies": {
|
|
45
|
-
"@biomejs/biome": "2.4.
|
|
45
|
+
"@biomejs/biome": "2.4.10",
|
|
46
46
|
"@testing-library/dom": "10.4.1",
|
|
47
47
|
"@testing-library/react": "16.3.2",
|
|
48
48
|
"@types/jest": "30.0.0",
|