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

Introduce eslint rule against type assertions #633

Merged
merged 2 commits into from
Apr 14, 2023

Conversation

sven-urbanski-freiheit-com
Copy link
Contributor

@sven-urbanski-freiheit-com sven-urbanski-freiheit-com commented Apr 14, 2023

This forbids type assertions.
As a first step, all current assertions are allowed with the comment eslint-disable-next-line no-type-assertion/no-type-assertion.
This is just the first step: There will be more PRs that get rid of the issue properly, e.g. refactoring the code to make the type assertion unnecessary.

@sven-urbanski-freiheit-com sven-urbanski-freiheit-com changed the title WIP: Fail if there are type assertions Introduce eslint rule against type assertions Apr 14, 2023
@sven-urbanski-freiheit-com sven-urbanski-freiheit-com deleted the su-enable-eslint-no-type-assertion2 branch April 14, 2023 09:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants