Rollup merge of #97286 - GuillaumeGomez:eslint-check-fn, r=notriddle

Add new eslint rule to prevent whitespace before function call paren

It prevents `foo ()` basically. :)

r? `@notriddle`
This commit is contained in:
Dylan DPC 2022-05-23 15:11:03 +02:00 committed by GitHub
commit 215722bd8d
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -46,5 +46,6 @@ module.exports = {
"error", "error",
{ "beforeColon": false, "afterColon": true, "mode": "strict" } { "beforeColon": false, "afterColon": true, "mode": "strict" }
], ],
"func-call-spacing": ["error", "never"],
} }
}; };