转载:https://blog.csdn.net/qq_43416014/article/details/105012478

1、通过配置,加上空格
https://blog.csdn.net/peade/article/details/85161600 没有生效!!!

"javascript.format.insertSpaceBeforeFunctionParenthesis": true,

2、修改es配置,关闭eslint配置
https://blog.csdn.net/qq_43416014/article/details/105012478 成功
在根目录下的.eslintrc.js中的rules: {}中添加:

 'space-before-function-paren':0

记得停止运行重新启动编译

相关文章:

  • 2021-05-20
  • 2022-12-23
  • 2021-05-10
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
猜你喜欢
  • 2022-12-23
  • 2021-09-13
  • 2022-12-23
  • 2022-12-23
  • 2021-08-24
  • 2022-12-23
  • 2021-06-12
相关资源
相似解决方案