大家先装上npm I eslint@4 -g;
然后在你的项目下执行eslint init;
然后vscode上装eslint插件
然后在vscode中按comand+“,” 打开面板, 修成"eslint.autoFixOnSave"的值为true

相关文章:

  • 2021-12-03
  • 2022-12-23
  • 2022-12-23
  • 2021-06-10
  • 2021-06-13
  • 2021-11-29
  • 2022-12-23
  • 2022-12-23
猜你喜欢
  • 2021-05-23
  • 2022-12-23
  • 2022-12-23
相关资源
相似解决方案