Migration helpers for replacing the deprecated eslint-loader with eslint-webpack-plugin in webpack configurations. Current version 0.1.0, released with Node >=18 support. Scans plain webpack config objects, removes eslint-loader references, extracts plugin options, and returns install guidance. Zero runtime dependencies, ships TypeScript types. Not affiliated with the original maintainers. Suitable for projects transitioning away from the deprecated eslint-loader pattern, offering a structured migration path without requiring webpack or the plugin at runtime.
npm install eslint-webpack-migrateNo compatibility data collected yet for this library.
Verified import paths — ran on the pinned version, not inferred.
Migrates an eslint-loader config to eslint-webpack-plugin, showing removed loader and generated plugin options.
Use import syntax or switch to an ES module project.
Upgrade Node.js to version 18 or higher.
Replace eslint-loader with eslint-webpack-plugin as guided.
Verify migration output and report issues to the package repository.
Manually inspect config after migration for any additional references.
Treat returned config as a deep copy; do not rely on immutability of nested objects.
Change to import { migrateEslintLoaderConfig } from 'eslint-webpack-migrate' and ensure project uses ES modules.Switch to import syntax or set type: 'module' in package.json.
Upgrade Node to >=18, or configure bundler to handle ESM.
Use 'import type' for types: import type { MigrationResult } from 'eslint-webpack-migrate'.