1 : vue.config.js 中增加 lintOnSave: false
2 :package.json -> eslintConfig ->rules ->
{
"no-": "off",
"no-debugger":"off",
"no-console": "off",
"no-empty":"off",
"no-unused-vars":"off"
}
3:新建 .eslintrc.json
{
"rules": {
"no-unused-vars": 0
}
}