Skip to content

Commit 215722b

Browse files
authored
Rollup merge of rust-lang#97286 - GuillaumeGomez:eslint-check-fn, r=notriddle
Add new eslint rule to prevent whitespace before function call paren It prevents `foo ()` basically. :) r? `@notriddle`
2 parents 98a8035 + 399299f commit 215722b

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/librustdoc/html/static/.eslintrc.js

+1
Original file line numberDiff line numberDiff line change
@@ -46,5 +46,6 @@ module.exports = {
4646
"error",
4747
{ "beforeColon": false, "afterColon": true, "mode": "strict" }
4848
],
49+
"func-call-spacing": ["error", "never"],
4950
}
5051
};

0 commit comments

Comments
 (0)