1) First you need to install the ESLint extension in VS code.
ESLint. ESLint , ,
npm install eslint //For a local install
or
npm install -g eslint //For a global install.
2) Setting.json VS. - > - > .
3) .
{
"eslint.enable": true,
"eslint.autoFixOnSave": true,
"eslint.run": "onType",
"eslint.options": {
"extensions": [".js",".vue"]
},
"eslint.validate": [
{ "language": "vue", "autoFix": true }
]
}
4) vue.It linting error.If , VS-.