-
Notifications
You must be signed in to change notification settings - Fork 528
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Update to eslint v9 #3385
Update to eslint v9 #3385
Conversation
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files☔ View full report in Codecov by Sentry. |
|
I actually realized that the update to node 9 is relatively straightforward at this point, so trying to use this PR to do the full jump to v9. |
dd7f9b0
to
5b5f3dd
Compare
Last version before it starts breaking apart
Manually install globals to work around error https://stackoverflow.com/a/75524936 Fixed also ignore files to catch both venv and .venv
– Update `eslint` to latest v9 (9.11.1) - Switch from `eslint-plugin-import` to `eslint-plugin-import-x` - Update `eslint-plugin-react` - Update `@babel/*` and `@typescript/*` packages
a74921b
to
c17ce5f
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Sorry for not doing the full review all at once; this should be the last batch of comments.
Fixes #3384
Going through the individual commits might help:
.eslintignore
into the config. The first surprise there is that I had to addignorePatterns
also to the config file in/translate/.eslintrc.js
.eslint
up to 8.40. Beyond that, the update was not working out of the box.eslint
8.57.1 (had to install also theglobals
package, see SO thread).ignores
rule for/static
wasn't working 🤷🏼caniuse
because I was tired of seeing the warning.Unrelated:
*venv
doesn't seem to work in ignore files, ended up adding bothvenv
(virtualenv) and.venv
(uv style).package-lock.json
still had references totag-admin
?