When you use vue / cli3.0, there may appear Goose rules
ESLint: Expected indentation of 2 spaces but found 4. (indent)
Solution
1, added lintOnSave in vue.config.js in: "false",
New .eslintignore then in the root directory
Add then restart
*.view
*.js
There are reference address
https://blog.csdn.net/weixin_44678104/article/details/100094937 solve VScode error format
https://www.cnblogs.com/sjie/p/9884362.html solve the error console format error