vue项目中eslint 警告'xxx is defined but never used'解决方法
Posted
tags:
篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了vue项目中eslint 警告'xxx is defined but never used'解决方法相关的知识,希望对你有一定的参考价值。
参考技术A 这是是eslint的规则,图中data定义了没使用所以报错了,你可以修改eslint配置。配置文件为.eslintrc.js
以上是关于vue项目中eslint 警告'xxx is defined but never used'解决方法的主要内容,如果未能解决你的问题,请参考以下文章
VUE_TS项目中类型使用any 报警告Unexpected any. Specify a different type.eslint@typescript-eslint/no-explicit-an
vue cli搭建的vue项目 不小心开了eslint 一直报黄色的警告