eslint-config-heck 2.8.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/biomeLinting.json CHANGED
@@ -242,8 +242,9 @@
242
242
  "noUndeclaredDependencies": "off",
243
243
  "noUselessUndefinedInitialization": "error",
244
244
  "useArrayLiterals": "error",
245
- "useConsistentBuiltinInstatiation": "error",
245
+ "useConsistentBuiltinInstantiation": "error",
246
246
  "useDefaultSwitchClause": "off",
247
+ "useExplicitLengthCheck": "error",
247
248
  "useImportRestrictions": "error",
248
249
  "useSortedClasses": "off"
249
250
  }
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/nodeWithBiome.cjs CHANGED
@@ -605,7 +605,7 @@ const rules = {
605
605
  "unicorn/error-message": "error",
606
606
  "unicorn/escape-case": "error",
607
607
  "unicorn/expiring-todo-comments": "error",
608
- "unicorn/explicit-length-check": "error",
608
+ "unicorn/explicit-length-check": "off",
609
609
  "unicorn/filename-case": "off",
610
610
  "unicorn/import-style": "error",
611
611
  "unicorn/new-for-builtins": "off",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "eslint-config-heck",
3
- "version": "2.8.0",
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",
@@ -35,23 +35,23 @@
35
35
  "eslint-import-resolver-typescript": "3.6.1",
36
36
  "eslint-plugin-deprecation": "2.0.0",
37
37
  "eslint-plugin-import": "2.29.1",
38
- "eslint-plugin-jest": "28.3.0",
38
+ "eslint-plugin-jest": "28.5.0",
39
39
  "eslint-plugin-react": "7.34.1",
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": "52.0.0",
44
+ "eslint-plugin-unicorn": "53.0.0",
45
45
  "typescript": "5.4.5"
46
46
  },
47
47
  "devDependencies": {
48
- "@biomejs/biome": "1.7.2",
49
- "@testing-library/react": "15.0.5",
48
+ "@biomejs/biome": "1.7.3",
49
+ "@testing-library/react": "15.0.7",
50
50
  "@types/jest": "29.5.12",
51
- "@types/react": "18.3.1",
51
+ "@types/react": "18.3.2",
52
52
  "jest": "29.7.0",
53
53
  "react": "18.3.1",
54
- "semantic-release": "23.0.8"
54
+ "semantic-release": "23.1.1"
55
55
  },
56
56
  "repository": {
57
57
  "type": "git",