在函数名和“(”之间强制不加空格。该规则仅检查.ets文件类型。
// Unexpected space before function parentheses.
function bar () {
// doSomething
}
// Unexpected space before function parentheses.
bar (); "plugin:@hw-stylistic/recommended" "plugin:@hw-stylistic/all"
Code Linter代码检查规则的配置指导请参考Code Linter代码检查。