func-call-spacing
eslint
Safe autofix
eslint.config.js
export default [
{
rules: {
"func-call-spacing": "error",
},
},
];This rule is deprecated. Check its documentation for a replacement before enabling it.
Require or disallow spacing between function identifiers and their invocations
fn ();
fn
();fn();
fn
();fn();fn();fn ();fn (); // Newlines are never required.
fn
();Examples from the ESLint documentation.
func-call-spacing
eslint
export default [
{
rules: {
"func-call-spacing": "error",
},
},
];Oxlint does not have this rule.
Biome does not have this rule.
Require or disallow spacing between function identifiers and their invocations in <template>
Disallow the use of alert, confirm, and prompt
Enforce the use of variables within the scope they are defined
Disallow certain properties on certain objects