Disallow Spaces in Function Calls (no-spaced-func)
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 does not allow gaps between the function identifier and application.
fn ()
The following patterns are considered warnings:
fn ()
fn
()
The following patterns are not warnings:
fn()
Version
This rule was introduced in ESLint 0.1.2.