Webpack To Rspack/Eslint Webpack Plugin To Eslint Rspack Plugin

/icons/calendar.svg

Last update

Oct 17, 2024

Change import from eslint-webpack-plugin to eslint-rspack-plugin.

Before

//change the import package from eslint-webpack-plugin to eslint-rspack-plugin
const ESLintPlugin = require('eslint-webpack-plugin');
module.exports = {
// ...
plugins: [new ESLintPlugin(options)],
// ...
};

After

const ESLintPlugin = require('eslint-rspack-plugin');
module.exports = {
// ...
plugins: [new ESLintPlugin(options)],
// ...
};

Build custom codemods

Use AI-powered codemod studio and automate undifferentiated tasks for yourself, colleagues or the community

background illustrationGet Started Now