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

Consider disabling default-case because of @typescript-eslint/switch-exhaustiveness-check #80

Closed
EdJoPaTo opened this issue Feb 6, 2024 · 0 comments · Fixed by #85
Closed

Comments

@EdJoPaTo
Copy link

EdJoPaTo commented Feb 6, 2024

With types the switch case default case can be determined way better than it can be in JavaScript. The default-case is useful in JavaScript but I only ignore it now with the updated @typescript-eslint/switch-exhaustiveness-check rules.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
1 participant