-
Notifications
You must be signed in to change notification settings - Fork 8
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
Spaces around function declarations vs. function invocation parens #16
Comments
Working on formalization of the rules. Does it look fine to you?
|
Yeah, that looks like it covers things well. |
Implemented in v.2.1.7 |
Ty :) |
BTW, you can find these sniffs explained in README.md |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Unless I'm missing it, it seems like a handy rule would relate to spaces around the function keyword parens in different scenarios. Namely, function declaration vs. function invocation. For example:
Enforce spaces around parens for function declarations
Enforce no spaces around parens for function invocation
The rationale behind this rule relates to the fact that some devs like to enforce a visual distinction between a function declaration and a function invocation.
What do you think?
The text was updated successfully, but these errors were encountered: