Repo: remove unused invalid rule listener from no-unused-vars
rule
#8278
Labels
accepting prs
Go ahead, send a pull request that resolves this issue
repo maintenance
things to do with maintenance of the repo, and not with code/docs
Suggestion
I'm playing with ESQuery type inference and I just noticed that there is a selector that queries a node that cannot be represented by the current AST structure:
typescript-eslint/packages/eslint-plugin/src/rules/no-unused-vars.ts
Lines 315 to 319 in 920f909
Little context:
Issue: [no-unused-var] False positive for nested namespace declaration #2573
Fix: fix(eslint-plugin): [no-unused-vars] don't report nested module declaration #3119
fix(typescript-estree): account for namespace nesting in AST conversion #6272
If I entirely remove this listener, all tests still pass, so it's dead code
Coverage ☠️:
The text was updated successfully, but these errors were encountered: