eslint-plugin-import-x icon indicating copy to clipboard operation
eslint-plugin-import-x copied to clipboard

import-x/resolver settings syntax

Open AaronPorts opened this issue 1 year ago • 0 comments

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 },
},

AaronPorts avatar Sep 08 '24 11:09 AaronPorts