Closed as not planned
Description
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
Metadata
Metadata
Assignees
Labels
No labels