Disallow spacing between function identifiers and their applications (deprecated)
Some problems reported by this rule are automatically fixable by the --fix
command line option
This rule was deprecated in ESLint v3.3.0 and replaced by the func-call-spacing rule.
While it’s possible to have whitespace between the name of a function and the parentheses that execute it, such patterns tend to look more like errors.
This rule disallows spacing between function identifiers and their applications.
Examples of incorrect code for this rule:
/*eslint no-spaced-func: "error"*/
fn ()
fn
()
Examples of correct code for this rule:
/*eslint no-spaced-func: "error"*/
fn()
This rule was introduced in ESLint v0.1.2.
© OpenJS Foundation and other contributors
Licensed under the MIT License.
https://eslint.org/docs/latest/rules/no-spaced-func