Uh oh!
There was an error while loading.Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork2.8k
Closed
Description
#8142 (comment) reminded me that we don't have any linting to prevent unusedcatch
locals.
In our repo right now, this would present zero lint complaints from@typescript-eslint/no-unused-vars
:
try{// ...}catch(error){// ...}
Proposal: let's sethttps://eslint.org/docs/latest/rules/no-unused-vars#caughterrors to"all"
in our lint config?