Description
I actually do want lint on save, which I have configured through my editor, but I choose to keep the lintOnSave
option in vue.config.js
disabled because it does more than that - it halts compilation on any linting errors (even if it's a minor stylistic issue). I've seen this behavior frustrate some as they didn't expect it, so perhaps we should rename the option to better match what it actually does. haltCompilationOnLintingErrors
might be a little unwieldly, but I'm open to other ideas.
Another option might be to always run the linter, but only if compilation fails due to a syntax error. I don't know if eslint-loader
actually allows that or if it can be done some other way, but I think that's more helpful behavior that people are probably less likely to want to disable.