We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent c027115 commit a1759dfCopy full SHA for a1759df
Surf MVP Application.xctemplate/.swiftlint.yml
@@ -124,6 +124,13 @@ custom_rules:
124
regex: "@IBAction func"
125
message: "IBAction should be private or fileprivate"
126
severity: error
127
+
128
+ mark_newlines:
129
+ included: ".*.swift"
130
+ name: "MARK newlines surrounding"
131
+ regex: '(([}{)\w \t]+\n{1}[ \t]*)(\/\/ MARK: - [\w ]*))|((\/\/ MARK: - [\w ]*)(\n{1}[ \t]*\w+))'
132
+ message: "Every MARK should be surrounded with 1 newline before and 1 after it"
133
+ severity: warning
134
135
line_length: 120
136
0 commit comments