Skip to content

Commit a696a0e

Browse files
committed
chore: update swiftformat rules
swift format does a wrapping that i find too rough, so we can't really use it at the moment, unfortunately
1 parent 5202670 commit a696a0e

File tree

1 file changed

+9
-5
lines changed

1 file changed

+9
-5
lines changed

.swiftformat

+9-5
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,10 @@
1-
# We can find the rules here.
2-
# https://github.com/nicklockwood/SwiftFormat/blob/main/Rules.md
1+
# rules: https://github.com/nicklockwood/SwiftFormat/blob/main/Rules.md
32

4-
--swiftversion 5.5
5-
6-
--maxwidth 120
3+
--swiftversion 5.8
4+
--maxwidth 110
5+
--nowrapoperators .,==,!=,<,>,>=,<=
6+
--wrapternary before-operators
7+
--disable andOperator
8+
--disable wrapConditionalBodies
9+
--disable wrapLoopBodies
10+
--disable wrapMultilineStatementBraces

0 commit comments

Comments
 (0)