Back to Eslint

Migration Guide

Eslint: 9 10

Upgrading ESLint from 9 to 10

EasyEstimated time: 30-60 minutes

Upgrading ESLint from 9 to 10

Migration steps

Step 1: Update the packages

npm install --save-dev eslint@10

Also update shared configs, formatters, and plugin versions — plugin majors usually track ESLint majors.

Step 2: Confirm flat config

eslint.config.js is the standard configuration format. If you still have .eslintrc files, move them first (the official migration guide has a converter).

Step 3: Run with fix

npx eslint . --fix

Rule names and default severities shift between majors; the first run tells you which files need attention.

Step 4: Wire into CI

Run lint as part of the build so new rule behavior does not surprise you later.

Compatibility checklist

  • Prettier or formatting integrations keep working; formatting conflicts come from config, not the ESLint major.
  • Check the release announcement for removed or renamed rules affecting your config.
  • Custom rules written against old APIs need updates per the developer guide.

Resources