eslint-config-heck 10.1.0 → 10.2.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/biomeJsTs.json CHANGED
@@ -150,6 +150,7 @@
150
150
  },
151
151
  "nursery": {
152
152
  "noAmbiguousAnchorText": "off",
153
+ "noBaseToString": "error",
153
154
  "noComponentHookFactories": "off",
154
155
  "noConditionalExpect": "error",
155
156
  "noContinue": "off",
@@ -237,7 +238,9 @@
237
238
  "useSortedClasses": "off",
238
239
  "useSpread": "error",
239
240
  "useStringStartsEndsWith": "error",
241
+ "useTestHooksInOrder": "error",
240
242
  "useTestHooksOnTop": "error",
243
+ "useThisInClassMethods": "error",
241
244
  "useUnicodeRegex": "error",
242
245
  "useVarsOnTop": "error"
243
246
  },
package/nodeWithBiome.js CHANGED
@@ -1,7 +1,7 @@
1
1
  import stylistic from "@stylistic/eslint-plugin";
2
2
  import typescriptEslint from "@typescript-eslint/eslint-plugin";
3
3
  import tsParser from "@typescript-eslint/parser";
4
- import importPlugin, { flatConfigs } from "eslint-plugin-import";
4
+ import importPlugin, { createNodeResolver, flatConfigs } from "eslint-plugin-import-x";
5
5
  import jest from "eslint-plugin-jest";
6
6
  import react from "eslint-plugin-react";
7
7
  import testingLibrary from "eslint-plugin-testing-library";
@@ -120,7 +120,7 @@ export default [
120
120
  "block-scoped-var": "error",
121
121
  camelcase: "off",
122
122
  "capitalized-comments": "off",
123
- "class-methods-use-this": "error",
123
+ "class-methods-use-this": "off",
124
124
  complexity: "off",
125
125
  "consistent-return": "error",
126
126
  "consistent-this": ["error", "that"],
@@ -665,7 +665,6 @@ export default [
665
665
  "unicorn/throw-new-error": "off",
666
666
 
667
667
  // eslint-plugin-import
668
- "importPlugin/enforce-node-protocol-usage": "off",
669
668
  "importPlugin/export": "off",
670
669
  "importPlugin/no-deprecated": "off",
671
670
  "importPlugin/no-empty-named-blocks": "error",
@@ -712,14 +711,20 @@ export default [
712
711
  "importPlugin/no-named-default": "off",
713
712
  "importPlugin/no-named-export": "off",
714
713
  "importPlugin/no-namespace": "off",
714
+ "importPlugin/no-rename-default": "off",
715
715
  "importPlugin/no-unassigned-import": "off",
716
716
  "importPlugin/order": "off",
717
717
  "importPlugin/prefer-default-export": "off",
718
+ "importPlugin/prefer-namespace-import": "off",
718
719
  },
719
720
  },
720
721
  {
721
722
  files: ["**/*.ts", "**/*.tsx"],
722
723
  ...flatConfigs.typescript,
724
+ settings: {
725
+ ...flatConfigs.typescript.settings,
726
+ "import-x/resolver-next": [createNodeResolver()],
727
+ },
723
728
  },
724
729
  {
725
730
  files: ["**/*.ts", "**/*.tsx"],
@@ -744,7 +749,7 @@ export default [
744
749
  "@typescript-eslint/ban-types": "off",
745
750
  "@typescript-eslint/class-literal-property-style": "error",
746
751
  "class-methods-use-this": "off",
747
- "@typescript-eslint/class-methods-use-this": "error",
752
+ "@typescript-eslint/class-methods-use-this": "off",
748
753
  "@typescript-eslint/consistent-generic-constructors": "error",
749
754
  "@typescript-eslint/consistent-indexed-object-style": "error",
750
755
  "@typescript-eslint/consistent-type-assertions": "error",
@@ -776,7 +781,7 @@ export default [
776
781
  "no-array-constructor": "off",
777
782
  "@typescript-eslint/no-array-constructor": "off",
778
783
  "@typescript-eslint/no-array-delete": "off",
779
- "@typescript-eslint/no-base-to-string": "error",
784
+ "@typescript-eslint/no-base-to-string": "off",
780
785
  "@typescript-eslint/no-confusing-non-null-assertion": "error",
781
786
  "@typescript-eslint/no-confusing-void-expression": "off",
782
787
  "@typescript-eslint/no-deprecated": "off",
@@ -1007,7 +1012,7 @@ export default [
1007
1012
  "jest/prefer-equality-matcher": "error",
1008
1013
  "jest/prefer-expect-assertions": "off",
1009
1014
  "jest/prefer-expect-resolves": "error",
1010
- "jest/prefer-hooks-in-order": "error",
1015
+ "jest/prefer-hooks-in-order": "off",
1011
1016
  "jest/prefer-hooks-on-top": "off",
1012
1017
  "jest/prefer-importing-jest-globals": "off",
1013
1018
  "jest/prefer-jest-mocked": "error",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "eslint-config-heck",
3
- "version": "10.1.0",
3
+ "version": "10.2.1",
4
4
  "description": "Contains an ESLint configuration for ES2015+, TypeScript, and React.",
5
5
  "type": "module",
6
6
  "main": "index.js",
@@ -28,10 +28,10 @@
28
28
  "license": "MIT",
29
29
  "dependencies": {
30
30
  "@stylistic/eslint-plugin": "5.10.0",
31
- "@typescript-eslint/eslint-plugin": "8.59.1",
32
- "@typescript-eslint/parser": "8.59.1",
31
+ "@typescript-eslint/eslint-plugin": "8.59.3",
32
+ "@typescript-eslint/parser": "8.59.3",
33
33
  "eslint": "9.39.4",
34
- "eslint-plugin-import": "2.32.0",
34
+ "eslint-plugin-import-x": "4.16.2",
35
35
  "eslint-plugin-jest": "29.15.2",
36
36
  "eslint-plugin-react": "7.37.5",
37
37
  "eslint-plugin-react-hooks": "7.1.1",
@@ -40,14 +40,14 @@
40
40
  "typescript": "6.0.3"
41
41
  },
42
42
  "devDependencies": {
43
- "@biomejs/biome": "2.4.14",
43
+ "@biomejs/biome": "2.4.15",
44
44
  "@testing-library/dom": "10.4.1",
45
45
  "@testing-library/react": "16.3.2",
46
46
  "@types/jest": "30.0.0",
47
47
  "@types/react": "19.2.14",
48
48
  "globals": "17.6.0",
49
- "jest": "30.3.0",
50
- "react": "19.2.5",
49
+ "jest": "30.4.2",
50
+ "react": "19.2.6",
51
51
  "semantic-release": "25.0.3"
52
52
  },
53
53
  "repository": {