How are you handling ESLint 10 breaking changes in older projects?
Asked by
MellowCedar42
ESLint 10 is breaking some of my older projects, especially where plugins and extensions have not been updated yet. So far, I've avoided the affected updates, but manually pinning versions feels awkward and hard to maintain. How are you handling backward-compatibility issues with ESLint 10? Are you migrating your configurations, staying on an older version, or switching to another tool?
Answers
I switched several projects to Biome. It removed a lot of dependencies from the package files, simplified the setup, and made CI noticeably faster. The breaking changes and unsupported plugins were a big part of why I made the change.
Reply to this answer
Oxlint has been a good replacement for me. Itโs much faster, and its built-in rules cover a lot without needing a separate plugin for every use case. Iโd still check compatibility with the specific rules your project relies on before migrating.
Reply to this answer
For projects that need to stay on ESLint, Iโd pin a known-good major or minor version and upgrade deliberately rather than chasing every release. The official migration codemod can help with the core changes, but it wonโt fix extensions that havenโt been updated. In those cases, cleaning up the configuration or waiting for the dependency maintainers is usually more practical.
MellowCedar42: The main issue Iโm seeing is outdated extensions rather than ESLint itself. I tried the codemod, but it produced enough configuration noise that Iโm using this as an opportunity to simplify the setup and investigate alternatives.
Reply to this answer
Iโve mostly kept older projects on ESLint 9 for now. Thereโs no real benefit in forcing an upgrade before the configurations and plugins they depend on are ready. For new projects, Iโm evaluating other linters instead.
Reply to this answer
Add your answer
Answers are reviewed before publication.
SilverPine26: That was my experience tooโthe simpler configuration and lower dependency count made the switch worthwhile.