-
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
Sorted imports #1071
Sorted imports #1071
Conversation
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.
👍 thanks for finishing this!
@@ -38,6 +38,10 @@ | |||
[Marcelo Fabri](https://github.com/marcelofabri) | |||
[#1066](https://github.com/realm/SwiftLint/issues/1066) | |||
|
|||
* Add a rule that enforces alphabetical sorting of imports. |
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.
Opt-in
Current coverage is 83.29% (diff: 96.15%)@@ master #1071 diff @@
==========================================
Files 147 148 +1
Lines 7189 7215 +26
Methods 0 0
Messages 0 0
Branches 0 0
==========================================
+ Hits 5985 6010 +25
- Misses 1204 1205 +1
Partials 0 0
|
I squashed all commits because I thought that was @sberrevoets's idea, but it seems it removed his name from the history. I'm sorry 😰 |
It's ok. His name will forever be credited in the changelog. The only place that matters :) |
Believe it or not, I was actually able to not open my laptop for a few days so didn't get a chance to look finish this up. Thanks for taking this over the finish line @marcelofabri! |
I applaud your self-restraint |
Continued from #991