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

Enforce eslint no-explicit-any #1260

Merged
merged 3 commits into from
Apr 26, 2024
Merged

Conversation

Arnei
Copy link
Member

@Arnei Arnei commented Jan 19, 2024

Adds more typing, but also adds a few eslint exceptions. I tried to keep the exceptions to types were it makes sense to keep any (i.e. third party libraries returning it or just cases were we don't care about the contents of a variable). This may be controversial though.

@Arnei Arnei added the type:code-quality Internal improvements to the codebase label Jan 19, 2024
Adds more typing, but also adds a few eslint exceptions.
I tried to keep the exceptions to types were it makes
sense to keep `any` (i.e. third party libraries returning
it or just cases were we don't care about the contents
of a variable). This may be controversial though.
Copy link

This pull request is deployed at test.editor.opencast.org/1260/2024-01-19_12-34-21/ .
It might take a few minutes for it to become available.

.eslintrc.js Outdated Show resolved Hide resolved
src/redux/subtitleSlice.ts Outdated Show resolved Hide resolved
@geichelberger geichelberger self-assigned this Mar 20, 2024
Arnei added 2 commits March 25, 2024 09:23
Since there are no more default overwriting
rules, we can remove the rule object
entirely.
The comment is not needed anymore so
it can go.
Copy link

This pull request is deployed at test.editor.opencast.org/1260/2024-03-25_08-37-30/ .
It might take a few minutes for it to become available.

Copy link
Contributor

@geichelberger geichelberger left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@geichelberger geichelberger merged commit 2b2d5eb into opencast:main Apr 26, 2024
6 checks passed
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
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants