-
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 rules around newlines #548
Comments
In our style guide we have a section that basically reads as: Grouping
This is similar to @Noobish1's rules. I would love to be able to enforce these via SwiftLint. |
This all sounds great to me. I don't think anyone has claimed this ticket as something they were building yet, so anyone should feel free to get started on this! |
Btw, #305 is a duplicate of this now. |
Do we need a new rule or could |
Never mind, this would be confusing with the |
So I hate redundant newlines in our codebase. We've hired some junior developers recently and they have a habit of adding redundant newlines everywhere and we'd love to see warnings/errors when they do this.
a few places they do it:
Would it be possible to add rules for the above cases?
The text was updated successfully, but these errors were encountered: