-
Notifications
You must be signed in to change notification settings - Fork 2.2k
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
Add unneeded_parentheses_in_closure_argument rule #1684
Add unneeded_parentheses_in_closure_argument rule #1684
Conversation
Codecov Report
@@ Coverage Diff @@
## master #1684 +/- ##
==========================================
+ Coverage 87.39% 87.43% +0.03%
==========================================
Files 204 205 +1
Lines 10067 10114 +47
==========================================
+ Hits 8798 8843 +45
- Misses 1269 1271 +2
Continue to review full report at Codecov.
|
d623783
to
d823538
Compare
d823538
to
2eb73a9
Compare
4cd9df6
to
57f52b6
Compare
I'm for making this default. I still don't understand why Xcode is creating those parentheses in the first place .... |
Honestly, I think it should be default. But I've done some informal survey with some friends and the majority actually prefer having the parentheses ¯\(ツ)/¯ Also, I've not implemented any configurations as we've discussed, so it'd be harder for people to bend the rule to what they prefer. |
I know that some like them as they are. Some are still using That's why I think we should make it default once Xcode doesn't add them by default. I hope that the time will come sometime. Thanks for implementing this anyways! Good work. 👍 |
Cool. |
Fixes #1483