eslint-config-heck 8.6.1 → 8.7.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 +3 -0
- package/nodeWithBiome.js +3 -0
- package/package.json +3 -3
package/node.js
CHANGED
|
@@ -666,6 +666,7 @@ export default [
|
|
|
666
666
|
"unicorn/no-empty-file": "error",
|
|
667
667
|
"unicorn/no-for-loop": "error",
|
|
668
668
|
"unicorn/no-hex-escape": "error",
|
|
669
|
+
"unicorn/no-immediate-mutation": "error",
|
|
669
670
|
"unicorn/no-instanceof-array": "error",
|
|
670
671
|
"unicorn/no-instanceof-builtins": "error",
|
|
671
672
|
"unicorn/no-invalid-fetch-options": "error",
|
|
@@ -693,6 +694,7 @@ export default [
|
|
|
693
694
|
"unicorn/no-unreadable-array-destructuring": "error",
|
|
694
695
|
"unicorn/no-unreadable-iife": "error",
|
|
695
696
|
"unicorn/no-unused-properties": "error",
|
|
697
|
+
"unicorn/no-useless-collection-argument": "error",
|
|
696
698
|
"unicorn/no-useless-error-capture-stack-trace": "error",
|
|
697
699
|
"unicorn/no-useless-fallback-in-spread": "error",
|
|
698
700
|
"unicorn/no-useless-length-check": "error",
|
|
@@ -744,6 +746,7 @@ export default [
|
|
|
744
746
|
"unicorn/prefer-query-selector": "off",
|
|
745
747
|
"unicorn/prefer-reflect-apply": "error",
|
|
746
748
|
"unicorn/prefer-regexp-test": "error",
|
|
749
|
+
"unicorn/prefer-response-static-json": "error",
|
|
747
750
|
"unicorn/prefer-set-has": "error",
|
|
748
751
|
"unicorn/prefer-set-size": "error",
|
|
749
752
|
"unicorn/prefer-single-call": "error",
|
package/nodeWithBiome.js
CHANGED
|
@@ -570,6 +570,7 @@ export default [
|
|
|
570
570
|
"unicorn/no-empty-file": "error",
|
|
571
571
|
"unicorn/no-for-loop": "error",
|
|
572
572
|
"unicorn/no-hex-escape": "error",
|
|
573
|
+
"unicorn/no-immediate-mutation": "error",
|
|
573
574
|
"unicorn/no-instanceof-array": "off",
|
|
574
575
|
"unicorn/no-instanceof-builtins": "error",
|
|
575
576
|
"unicorn/no-invalid-fetch-options": "error",
|
|
@@ -597,6 +598,7 @@ export default [
|
|
|
597
598
|
"unicorn/no-unreadable-array-destructuring": "error",
|
|
598
599
|
"unicorn/no-unreadable-iife": "error",
|
|
599
600
|
"unicorn/no-unused-properties": "error",
|
|
601
|
+
"unicorn/no-useless-collection-argument": "error",
|
|
600
602
|
"unicorn/no-useless-error-capture-stack-trace": "error",
|
|
601
603
|
"unicorn/no-useless-fallback-in-spread": "error",
|
|
602
604
|
"unicorn/no-useless-length-check": "error",
|
|
@@ -648,6 +650,7 @@ export default [
|
|
|
648
650
|
"unicorn/prefer-query-selector": "off",
|
|
649
651
|
"unicorn/prefer-reflect-apply": "error",
|
|
650
652
|
"unicorn/prefer-regexp-test": "error",
|
|
653
|
+
"unicorn/prefer-response-static-json": "error",
|
|
651
654
|
"unicorn/prefer-set-has": "error",
|
|
652
655
|
"unicorn/prefer-set-size": "error",
|
|
653
656
|
"unicorn/prefer-single-call": "error",
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "eslint-config-heck",
|
|
3
|
-
"version": "8.
|
|
3
|
+
"version": "8.7.0",
|
|
4
4
|
"description": "Contains an ESLint configuration for ES2015+, TypeScript, and React.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "index.js",
|
|
@@ -35,10 +35,10 @@
|
|
|
35
35
|
"eslint-plugin-import": "2.32.0",
|
|
36
36
|
"eslint-plugin-jest": "29.0.1",
|
|
37
37
|
"eslint-plugin-react": "7.37.5",
|
|
38
|
-
"eslint-plugin-react-hooks": "7.0.
|
|
38
|
+
"eslint-plugin-react-hooks": "7.0.1",
|
|
39
39
|
"eslint-plugin-react-native": "5.0.0",
|
|
40
40
|
"eslint-plugin-testing-library": "7.13.3",
|
|
41
|
-
"eslint-plugin-unicorn": "
|
|
41
|
+
"eslint-plugin-unicorn": "62.0.0",
|
|
42
42
|
"typescript": "5.9.3"
|
|
43
43
|
},
|
|
44
44
|
"devDependencies": {
|