[Vuejs]-Why does autocorrect changes code when I save the file and then showing error?

0👍

You are running ESLint with the option –fix, which changes the source file according to the given rules, see ESLint CLI docs.

If you run the lint script a second time, there should be no error because the file has already be changed to match the rules. If there still is an error, there must be something wrong with the lint rules.

I would expect no errors if you use the modified source file in the buildscript.

Leave a comment