eslint-config-heck 2.9.0 → 2.10.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 +5 -1
- package/package.json +5 -5
package/node.cjs
CHANGED
|
@@ -737,6 +737,7 @@ const rules = {
|
|
|
737
737
|
},
|
|
738
738
|
],
|
|
739
739
|
"unicorn/consistent-destructuring": "error",
|
|
740
|
+
"unicorn/consistent-empty-array-spread": "error",
|
|
740
741
|
"unicorn/consistent-function-scoping": [
|
|
741
742
|
"error",
|
|
742
743
|
{
|
|
@@ -777,9 +778,11 @@ const rules = {
|
|
|
777
778
|
"unicorn/no-for-loop": "error",
|
|
778
779
|
"unicorn/no-hex-escape": "error",
|
|
779
780
|
"unicorn/no-instanceof-array": "error",
|
|
781
|
+
"unicorn/no-invalid-fetch-options": "error",
|
|
780
782
|
"unicorn/no-invalid-remove-event-listener": "error",
|
|
781
783
|
"unicorn/no-keyword-prefix": "off",
|
|
782
784
|
"unicorn/no-lonely-if": "error",
|
|
785
|
+
"unicorn/no-magic-array-flat-depth": "error",
|
|
783
786
|
"unicorn/no-negated-condition": "error",
|
|
784
787
|
"unicorn/no-nested-ternary": "off",
|
|
785
788
|
"unicorn/no-new-array": "error",
|
|
@@ -848,11 +851,12 @@ const rules = {
|
|
|
848
851
|
"unicorn/prefer-set-has": "error",
|
|
849
852
|
"unicorn/prefer-set-size": "error",
|
|
850
853
|
"unicorn/prefer-spread": "error",
|
|
851
|
-
|
|
854
|
+
"unicorn/prefer-string-raw": "error",
|
|
852
855
|
"unicorn/prefer-string-replace-all": "error",
|
|
853
856
|
"unicorn/prefer-string-slice": "error",
|
|
854
857
|
"unicorn/prefer-string-starts-ends-with": "error",
|
|
855
858
|
"unicorn/prefer-string-trim-start-end": "error",
|
|
859
|
+
"unicorn/prefer-structured-clone": "error",
|
|
856
860
|
"unicorn/prefer-switch": "error",
|
|
857
861
|
|
|
858
862
|
// TODO: off until there is a solution to this: https://github.com/sindresorhus/eslint-plugin-unicorn/issues/1079
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "eslint-config-heck",
|
|
3
|
-
"version": "2.
|
|
3
|
+
"version": "2.10.0",
|
|
4
4
|
"description": "Contains an ESLint configuration for ES2015+, TypeScript, and React.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "index.js",
|
|
@@ -41,17 +41,17 @@
|
|
|
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": "
|
|
44
|
+
"eslint-plugin-unicorn": "53.0.0",
|
|
45
45
|
"typescript": "5.4.5"
|
|
46
46
|
},
|
|
47
47
|
"devDependencies": {
|
|
48
48
|
"@biomejs/biome": "1.7.3",
|
|
49
|
-
"@testing-library/react": "15.0.
|
|
49
|
+
"@testing-library/react": "15.0.7",
|
|
50
50
|
"@types/jest": "29.5.12",
|
|
51
|
-
"@types/react": "18.3.
|
|
51
|
+
"@types/react": "18.3.2",
|
|
52
52
|
"jest": "29.7.0",
|
|
53
53
|
"react": "18.3.1",
|
|
54
|
-
"semantic-release": "23.
|
|
54
|
+
"semantic-release": "23.1.1"
|
|
55
55
|
},
|
|
56
56
|
"repository": {
|
|
57
57
|
"type": "git",
|