-
Notifications
You must be signed in to change notification settings - Fork 26.7k
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
[eslint config][major][guide] Always require parens around arrow function arguments #1863
Conversation
0ca14dc
to
21ef5e4
Compare
Yeaaaah!! 🎉 :) |
Thanks - since this is a semver-major, I'm going to hold off on merging it until after #1834 is released. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM, but blocking merges until it's ready
|
||
> Why? Less visual clutter. | ||
> Why? Minimizes diff churn when adding or removing arguments. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is a much better reason!
21ef5e4
to
020bdde
Compare
020bdde
to
cf6219d
Compare
Since #1834 is done now, can this be rebased and merged? |
bb12bcd
to
95f33e7
Compare
95f33e7
to
cf57435
Compare
e1cef35
to
820745d
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
it is time
Sweeet. One more rule which I like and forced in my config, got merged. :) |
Overriding this
I don't find this to be the case; there's still a diff on the same line, so doesn't really make any meaningful change to the diffs, but 👇 is still meaningful.
Glad that it makes some people happy though, and I don't mind overriding things if necessary :) |
guide + eslint config change to always require parens around arrow function arguments.