mediamonks/pota

ESLint ignoring unused imports in Vue

Closed this issue · 1 comments

Steps to recreate:

  1. Create a Vue project
  2. 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.

Screenshot 2021-03-03 at 11 16 23

psimk commented

Should be fixed as part of 764c6ff