【vue】eslint函数括号前必须带空格问题

转载: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

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

原文地址:https://www.cnblogs.com/hahahakc/p/13302251.html