Migration helpers for moving ESLint configs from babel-eslint to @babel/eslint-parser.
babel-eslint is deprecated and no longer receives updates. This package updates plain ESLint config objects, reports what changed, and generates install hints for the maintained parser.
npm install eslint-babel-migrateimport { migrateBabelEslintConfig } from "eslint-babel-migrate";
const result = migrateBabelEslintConfig({
parser: "babel-eslint",
parserOptions: {
sourceType: "module"
}
});
console.log(result.config);
console.log(result.changes);Returns { config, changed, changes, warnings, install }.
Checks whether a config uses babel-eslint.
Returns the package manager command for the maintained parser.
eslint-babel-migrate is an independent alternative or migration helper for projects moving away from babel-eslint. It is not affiliated with the original package maintainers or project.
For release context, see the local migration guide, examples, compatibility notes, source metadata, and adoption plan.