在.eslintrc.js中配置:
// add your custom rules here rules: { // no space before function name "space-before-function-paren": 0 }
eslint检测规则中,括弧和函数名之间去掉空格的配置
原文:https://www.cnblogs.com/ladybug7/p/12251036.html