eslint-config-heck 10.2.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.
Files changed (2) hide show
  1. package/nodeWithBiome.js +7 -2
  2. package/package.json +4 -4
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";
@@ -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"],
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "eslint-config-heck",
3
- "version": "10.2.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.2",
32
- "@typescript-eslint/parser": "8.59.2",
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",