Skip to content

Commit c6f2b18

Browse files
author
Holly Schilling
committed
Addressed conflict between Swift Lint and Swift Format.
1 parent cfc3508 commit c6f2b18

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

.swiftformat

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@
1717
--removelines enabled
1818
--emptybraces no-space
1919
--linebreakbeforebraces false
20+
--allman false
2021

2122
# Imports
2223
--importgrouping testable-bottom

.swiftlint.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@ disabled_rules:
66
- nesting # Nested types (e.g. Codable CodingKeys) are often the right design.
77
- identifier_name # Underscore-prefixed SPI, short switch bindings, and keyword-avoiding suffixes are all idiomatic.
88
- trailing_comma # Trailing commas produce cleaner diffs.
9+
- opening_brace # Delegated to SwiftFormat (--allman false); the two tools can disagree on long signatures.
910

1011
excluded:
1112
- .build

0 commit comments

Comments
 (0)