This repository has been archived by the owner on Aug 31, 2023. It is now read-only.
📎 noUnusedVariables
should report unused imports
#4685
Labels
A-Linter
Area: linter
Help wanted
Help would be really appreciated
task
A task, an action that needs to be performed
Description
As discussed in #4188, the current implementation of
noUnusedVariables
does not report unused imports as in the following example:The equivalent ESLint rule
no-unused-var
reports unused imports.I didn't see any reason why
noUnusedVariables
ignores unused imports.noUnusedVariables
should report unused imports.The text was updated successfully, but these errors were encountered: