error: ‘XXX‘ is defined but never used (no-unused-vars)报错的解决方案2023-10-26 10:12:52 找到.eslintrc.js文件,在rules里面添加上如下代码,就可以去掉提示了。 "no-unused-vars": 'off' 上一篇:ShardingJDBC报错修复The bean 'dataSource', defined in class path resource [org/apache/sharding下一篇:NameError: name 'xrange' is not defined