Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

import-x/resolver settings syntax #153

Open
AaronPorts opened this issue Sep 8, 2024 · 0 comments
Open

import-x/resolver settings syntax #153

AaronPorts opened this issue Sep 8, 2024 · 0 comments

Comments

@AaronPorts
Copy link

AaronPorts commented Sep 8, 2024

I'm using eslint-import-resolver-oxc and it seems "import-x/resolver": "oxc" doesn't work, firing Unable to resolve path to module, while "import-x/resolver": { oxc: true } works as expected.

languageOptions: {
  parser: typescriptParser,
  sourceType: "module",
  parserOptions: {
    ecmaVersion: "latest",
    projectService: true,
    tsconfigRootDir: import.meta.dirname,
  },
},
settings: {
  "import-x/parsers": { "@typescript-eslint/parser": [".ts", ".tsx"] },
  "import-x/resolver": { oxc: true },
},
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant