A resolver for eslint-plugin-import that uses babel-plugin-module-resolver's alias configuration to resolve module paths. Version 5.3.2 is the current stable release, compatible with @babel/core ^7.0.0-0 and babel-plugin-module-resolver ^3.0.0 || ^4.0.0 || ^5.0.0. It allows ESLint to understand custom module aliases defined in Babel config, preventing false positive import/no-unresolved errors. Unlike eslint-import-resolver-alias or eslint-import-resolver-webpack, it integrates directly with Babel's module resolution, making it ideal for projects using babel-plugin-module-resolver. The package is actively maintained, with updates tracking eslint-plugin-import and babel-plugin-module-resolver releases.
npm install eslint-import-resolver-babel-moduleVerified import paths — ran on the pinned version, not inferred.
Installs required packages, sets up Babel aliases, and configures ESLint to resolve those aliases.
Update babel-plugin-module-resolver to ^3.0.0, ^4.0.0, or ^5.0.0.
Ensure @babel/core and babel-plugin-module-resolver are installed and configured in your project.
Make sure your Babel config is in the root directory or use a project-level babel.config.js.
If you rely on this feature, check changelog before upgrading.
Run: npm install --save-dev babel-plugin-module-resolver
Ensure the resolver is configured correctly in .eslintrc: "import/resolver": { "babel-module": {} } and that the alias is defined in Babel config.Change to: {"settings": {"import/resolver": {"babel-module": {}}}}