Here’s how to switch from Biome to ESLint. In this example, we’ll also add the Next.js and React plugins, as well as the new ESLint Flat Config.Documentation Index
Fetch the complete documentation index at: https://docs.jtbdos.com/llms.txt
Use this file to discover all available pages before exploring further.
1. Swap out the required dependencies
First, uninstall the existing dependencies from the rootpackage.json file…
Terminal
Terminal
2. Configure ESLint
Delete the existingbiome.json file in the root of the project, and create a new eslint.config.mjs file:
eslint.config.mjs
3. Install the ESLint VSCode extension
Install the ESLint VSCode extension to get linting and formatting support in your editor.4. Update your .vscode/settings.json file
Add the following to your .vscode/settings.json file to match the following:
.vscode/settings.json
5. Re-enable the lint script
As Next.js uses ESLint for linting, we can re-enable the lint script in the root package.json files. In each of the Next.js apps, update the package.json file to include the following:
apps/app/package.json