【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

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


免责声明!

本站转载的文章为个人学习借鉴使用,本站对版权不负任何法律责任。如果侵犯了您的隐私权益,请联系本站邮箱yoyou2525@163.com删除。



 
粤ICP备18138465号  © 2018-2025 CODEPRJ.COM