Created
May 18, 2018 09:59
-
-
Save TimothyChilvers/9034b36b0be02a548dc3418b571b88e1 to your computer and use it in GitHub Desktop.
A SwiftLint rule forbidding new lines at the start of a new scope.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
custom_rules: | |
no_newlines_at_start_of_scope: | |
included: ".*.swift" | |
name: "No newlines at the start of a scope" | |
regex: "\\{\\n\\s*\\n" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment