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

Eslint config suggested improvement #3045

Open
devinrhode2 opened this issue Dec 19, 2024 · 1 comment
Open

Eslint config suggested improvement #3045

devinrhode2 opened this issue Dec 19, 2024 · 1 comment
Labels
documentation Everything documentation related

Comments

@devinrhode2
Copy link

Which project does this relate to?

Router

Describe the bug

'@typescript-eslint/only-throw-error': [
  'error',
  {
    allow: ['Redirect'],
    allowThrowingAny: false,
    allowThrowingUnknown: false,
  },
],

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

  • OS: [e.g. macOS, Windows, Linux]
  • Browser: [e.g. Chrome, Safari, Firefox]
  • Version: [e.g. 91.1]

Additional context

No response

@schiller-manuel
Copy link
Contributor

should this be put into the docs?

@SeanCassiere SeanCassiere added the documentation Everything documentation related label Dec 21, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Everything documentation related
Projects
None yet
Development

No branches or pull requests

3 participants