Closed
Description
#8142 (comment) reminded me that we don't have any linting to prevent unused catch
locals.
In our repo right now, this would present zero lint complaints from @typescript-eslint/no-unused-vars
:
try {
// ...
} catch (error) {
// ...
}
Proposal: let's set https://eslint.org/docs/latest/rules/no-unused-vars#caughterrors to "all"
in our lint config?
Metadata
Metadata
Assignees
Labels
Go ahead, send a pull request that resolves this issueGo ahead, send a pull request that resolves this issuePlease open a new issue if you'd like to say more. See https://typescript-eslint.io/contributing.Please open a new issue if you'd like to say more. See https://typescript-eslint.io/contributing.things to do with maintenance of the repo, and not with code/docsthings to do with maintenance of the repo, and not with code/docs