-
-
Notifications
You must be signed in to change notification settings - Fork 973
Eslint config suggested improvement #3045
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
Comments
should this be put into the docs? |
Thanks for this! Also added |
After some thought on this, I'm closing this, since this is more around a user's eslint setup. If you are using The way to suppress this error is either turn off the rule, or change it to a warning. Both of which is done in the end user's eslint config. We could document this in the Router docs, but this does not seem feasible considering that people could have other various rules in their configs that could also cause issues in their dev workflow. A user customizing the eslint config's from upstream providers (like |
Which project does this relate to?
Router
Describe the bug
Your Example Website or App
google.com
Steps to Reproduce the Bug or Issue
write
throw redirect
Expected behavior
no eslint error when using strict @typescript-eslint config
Screenshots or Videos
No response
Platform
Additional context
No response
The text was updated successfully, but these errors were encountered: