Skip to content
Permalink
Branch: master
Find file Copy path
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
29 lines (17 sloc) 659 Bytes

disallow spacing between function identifiers and their applications (no-spaced-func)

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.

Rule Details

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()
You can’t perform that action at this time.