ESLint didnt work on .vue files

I've tried to get it work ESLint with Vue single files, but i can't get any result of it.
This is a problem with WebStorm or is my configuration?

Comment actions Permalink

Does it work in terminal? What WebStorm version do you use?

Comment actions Permalink

WebStorm 2017.3.3

This is an example of ESLint working with js files

This is an example with a .vue file

An this is another example running ESLint from the console with the same vue file

Comment actions Permalink

Yes, was a problem with my .eslintrc.json configuration file. I found the solution following this comment

Just for information, I had configurated vue only on "extends", and it needs to be on "plugins" too to get it work it with the IDE. Perhaps could be useful mention this on the docs.

Anyways, thanks!


Please sign in to leave a comment.