vue 解决 error ‘xxxx‘ is assigned a value but never used no-unused-vars

错误原因:eslint的验证语法

修改配置文件,有得项目rules 位置在package.json,我得是单独得一个js

全局搜索rules,
“generator-star-spacing”: “off”,
“no-tabs”:“off”,
“no-unused-vars”:“off”,
“no-console”:“off”,
“no-irregular-whitespace”:“off”,
“no-debugger”: “off”
vue 解决 error ‘xxxx‘ is assigned a value but never used no-unused-vars_第1张图片

你可能感兴趣的:(vue)