93 problems (93 errors, 0 warnings)
87 errors, 0 warnings potentially fixable with the --fix option.

报这个错是因为package.json中配置项少了 --fixed

npm run eslint 报错 (87 errors, 0 warnings potentially fixable with the --fix option.)

更改为:

"lint": "eslint --fix --ext .js,.vue src",

继续运行,这里还有一些错是不能自动修复的,按ctrl单击,直接进到文件里,按照提示修改,比如这个报错声明但未定义的,直接删除或暂时注释掉就欧克了

npm run eslint 报错 (87 errors, 0 warnings potentially fixable with the --fix option.)

 

 

引用:   npm run eslint 报错

相关文章:

  • 2021-04-17
  • 2021-06-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
猜你喜欢
  • 2022-12-23
  • 2021-09-18
  • 2021-12-11
  • 2021-09-07
  • 2022-12-23
  • 2021-09-28
  • 2021-11-25
相关资源
相似解决方案