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 and enforce eslint #1558

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

Update and enforce eslint #1558

wants to merge 13 commits into from

Conversation

Arnei
Copy link
Member

@Arnei Arnei commented Feb 25, 2025

Updates eslint to major version 9 and removes other eslint dependencies that are obsolete. Furthermore, adds typescript and eslint checks to the build command, so that warnings and errors must be addressed. Finally, makes the minimum amount of code changes for this to build. Currently ignored eslint rules may be enabled by subsequent commits/pull requests.

@Arnei Arnei added type:dependencies Pull requests that update a dependency file type:infrastructure Build process, deployment, workflows type:code-quality Internal improvements to the codebase labels Feb 25, 2025
Copy link

This pull request is deployed at test.editor.opencast.org/1558/2025-02-25_11-34-43/ .
It might take a few minutes for it to become available.

@gregorydlogan
Copy link
Member

So, I'm thinking that #1134 is related here. Can we enforce the tabs vs spaces debate here too? Sounds like everything else (editor, tobira, OC itself) is all spaces, so enforcing a spaces change with this might make sense.

@Arnei
Copy link
Member Author

Arnei commented Mar 10, 2025

I don't see how that PR is related at all, maybe you got the wrong number?

Also this PR enforces the no-tabs eslint rule again, which enforces using spaces for indentation (unless people try using some other unholy whitespace character for indentation I guess).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type:code-quality Internal improvements to the codebase type:dependencies Pull requests that update a dependency file type:infrastructure Build process, deployment, workflows
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants