Skip to content

Commit 2cd1789

Browse files
committed
Configure the attribute rule to exclude some cases.
1 parent d01f7fc commit 2cd1789

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

.swiftlint.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -73,6 +73,8 @@ opt_in_rules:
7373
- vertical_whitespace_opening_braces
7474
- yoda_condition
7575

76+
attributes:
77+
attributes_with_arguments_always_on_line_above: false
7678
identifier_name:
7779
min_length:
7880
# Do not flag short identifiers

0 commit comments

Comments
 (0)