npm i babel-eslint eslint-plugin-html eslint-plugin-react -g
// eslint config start
"eslint.options": {
"configFile": "C:/Users/Administrator/.eslint/.eslintrc.js",
"plugins": [
"html",
"react"
]
},
"eslint.validate": [
"javascript",
"javascriptreact",
"html",
"vue",
{
"language": "html",
"autoFix": true
},
{
"language": "vue",
"autoFix": true
}
],
// 为了解决 [vue/no-parsing-error] Parsing error: x-invalid-end-tag. 报错
"vetur.validation.template": false,