Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.
Sign upParentheses for arrow function aruments #853
Comments
This comment has been minimized.
This comment has been minimized.
|
This is a tough one. We tried enforcing "always use parens around arrow function arguments" but had to revert it since omitting parens is quite a popular style. This was discussed in #309, #414, and standard/eslint-config-standard#63 if you want to dig into the historical discussion. |
feross
closed this
Apr 13, 2017
This comment has been minimized.
This comment has been minimized.
|
Feel free to continue discussing here, but I'm closing this since I don't expect we'll make any changes anytime soon around this rule. |
lock
bot
locked as resolved and limited conversation to collaborators
May 10, 2018
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
fanatid commentedApr 11, 2017
Probably this question was already raised, sorry if this issue is duplicate.
Right now all this expression are valid:
When we have exactly one argument, parentheses can be or not be. Will some of this expression standardize in standard? Or two expression will be always valid?