ESLint ignoring unused imports in Vue
Closed this issue · 1 comments
crevulus commented
Steps to recreate:
- Create a Vue project
- Import but don't use a module
You can see in the screenshot below that I've imported the default HelloWorld
component into a new Test
component. Usually ESLint would flag that as a variable that has been declared but never used, but in this porter vue project ESLint doesn't complain at all.
I also initialised a multi-line, empty props
object that wasn't flagged by ESLint at all.