An ESLint import resolver wrapping oxc-resolver for eslint-plugin-import and eslint-plugin-import-x. Current stable version is 0.15.0, with frequent releases (multiple minor/patch versions in 2024). Key differentiators: significantly faster than eslint-import-resolver-node by leveraging the Rust-based oxc-resolver; supports configuration via bundler configs (Vite, Rspack, Webpack) and auto-detection of tsconfig/jsconfig; offers both sync and async resolver-next API. Ships TypeScript types, ESM/CJS compatible, and requires oxc-resolver as a peer dependency. Community alternative to eslint-import-resolver-typescript.
npm install eslint-import-resolver-oxcNo compatibility data collected yet for this library.
Verified import paths — ran on the pinned version, not inferred.
Configure eslint-plugin-import-x with oxc resolver using flat config (ESM).
Run 'npm install oxc-resolver' as an additional dependency.
Ensure oxc-resolver version 8 is installed.
Use the older resolver API for eslint-plugin-import-x <4.5.0 (settings['import-x/resolver'] = 'oxc').
Use await createOxcImportResolver({ bundlerConfig: 'vite.config.ts' }) in an async context.Install oxc-resolver: npm install oxc-resolver --save-dev
Ensure package is installed: npm install eslint-import-resolver-oxc --save-dev. If using ESM, check package.json has "type": "module" or use .mjs extension.
Use 'import-x/resolver-next' for eslint-plugin-import-x >=4.5.0, or 'import-x/resolver' for older versions.