mozilla/pontoon

Update ESLint to version 9

Closed this issue · 2 comments

Looks like ESLint v8 (the one we currently use) is going EOL next week (2024-10-05).

At least one plugin doesn't seem to be compatible:

  • eslint-plugin-import (issue)

This likely needs someone more familiar with JS than me to fix.

typescript-eslit/eslint-* also seem incompatible, not sure why the strict version.

peer eslint@"^8.57.0 || ^9.0.0" from @typescript-eslint/eslint-plugin@8.7.0

I think I've found a way to get there once the existing PR is done:

  • Update all @typescript and @babel packages.
  • Replace eslint-plugin-import  with ``eslint-plugin-import-x`.