Skip to content
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 ESLint and @opencast/eslint-config-ts-react #1344

Open
wants to merge 4 commits into
base: main
Choose a base branch
from

Conversation

LukasKalbertodt
Copy link
Member

This finally updates ESLint to the new flat config format, including our shared config @opencast/eslint-config-ts-react. This PR also updates another old dependency of Tobira. See commits for more information.

A number of lints are disabled by this PR, as those were causing lint warnings. Note that this PR obviously doesn't make the code base worse, just because new stricter lints were added. I currently don't have the time to go through all lints failures. That can be done in the near future, one at a time. The important part is getting the update done.

The update brought lots of new or stricter rules, leading to roughly
100 errors. Now is not the time to fix all of them, so I fixed the
easier ones, disabling the remaining rules.

Some boring changes and some good changes (mostly around conditional
hooks).
This also finally updates this `ts-checker` thingy. In version 7 it
removed eslint support, which blocked us from updating. But there is
this other plugin for that now. And everything seems to work well.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
changelog:dev Changes primarily for developers
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant