You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Your .vue files are not being linted.
Eslint configuration is not a place where you point what files it should or should not lint. You have to point it explicitly, either while using command line, or in your build configuration. In command line it looks like this:
I checked and with v4.4.0 indentation seems to be working fine.
If you however want this rule to only check vue files, and keep built-in indent rule for plain .js files you can override part of the configuration like this:
Tell us about your environment
Please show your full configuration:
What did you do? Please include the actual source code causing the issue.
What did you expect to happen? only work for vue files?
What actually happened? Please include the actual, raw output from ESLint. working for js file and in a wrong way.
The text was updated successfully, but these errors were encountered: