Open
Description
All major bundlers have a resolve
configuration, for example:
- https://vite.dev/config/shared-options.html#resolve-alias
- https://webpack.js.org/configuration/resolve/#resolve
- https://rspack.dev/config/resolve
We can read users' config file and get the normalized resolve
config to align ESLint's module resolution with the bundler’s behavior.
Some features implemented in eslint-import-resolver-oxc
:
- auto-detect bundler configs
- export a function to transform the config
If anyone has more ideas, please feel free to discuss, and I'd be happy to port this feature to this repository.