We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 8efad18 + fea82f2 commit 06491f5Copy full SHA for 06491f5
.swiftlint.yml
@@ -99,6 +99,9 @@ whitelist_rules:
99
# TODOs and FIXMEs should be avoided.
100
# - todo
101
102
+ # Limit vertical whitespace to a three empty lines (rule configuration is below)
103
+ - vertical_whitespace
104
+
105
# Files should have a single trailing newline.
106
- trailing_newline
107
@@ -129,8 +132,12 @@ whitelist_rules:
129
132
130
133
# Rules configuration
131
134
-control_statement:
- severity: error
135
+vertical_whitespace:
136
+ max_empty_lines: 3
137
+ severity: error
138
139
+control_statement:
140
141
142
custom_rules:
143
0 commit comments