Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Disallow spacing between function identifiers and their invocations (func-call-spacing) #1377

Open
feross opened this issue Aug 18, 2019 · 0 comments

Comments

@feross
Copy link
Member

commented Aug 18, 2019

https://eslint.org/docs/rules/func-call-spacing

When calling a function, developers may insert optional whitespace between the function’s name and the parentheses that invoke it.

Option: "never" (default) disallows space between the function name and the opening parenthesis.

Examples of incorrect code for this rule with the default "never" option:

/*eslint func-call-spacing: ["error", "never"]*/

fn ();

fn
();

Examples of correct code for this rule with the default "never" option:

/*eslint func-call-spacing: ["error", "never"]*/

fn();

@feross feross added the enhancement label Aug 18, 2019

@feross feross added this to the standard 15 milestone Aug 18, 2019

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
1 participant
You can’t perform that action at this time.