Skip to content

Commit 8cbdf1d

Browse files
committed
-
1 parent 7d48aeb commit 8cbdf1d

2 files changed

Lines changed: 2 additions & 1 deletion

File tree

.swiftlint.tests.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,3 @@
11
disabled_rules:
2+
- function_body_length
23
- no_magic_numbers

.swiftlint.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -192,4 +192,4 @@ custom_rules:
192192
empty_line_after_type_declaration:
193193
name: "Empty line after type declaration"
194194
message: "Type declaration should start with an empty line."
195-
regex: "( |^)(actor|class|struct|enum|protocol|extension) (?!var)[^\\{]*? \\{(?!\\}) *\\n? *\\S"
195+
regex: "( |^)(actor|class|struct|enum|protocol|extension) (?!var)[^\\{]*? \\{(?!\\n*\\}) *\\n? *\\S"

0 commit comments

Comments
 (0)