Skip to content

Commit

Permalink
update swift format config
Browse files Browse the repository at this point in the history
  • Loading branch information
phantumcode committed Oct 24, 2024
1 parent 4b6d945 commit 8e96777
Showing 1 changed file with 8 additions and 3 deletions.
11 changes: 8 additions & 3 deletions .swiftformat
Original file line number Diff line number Diff line change
Expand Up @@ -65,12 +65,17 @@
--enable void
--empty void

--disable wrapArguments
--closingparen same-line
--wraparguments after-first
--enable wrapArguments
--closingparen balanced
--wraparguments before-first
--wrapcollections before-first
--wrapconditions preserve

# standalone rules
--disable preferKeyPath
--disable conditionalAssignment
--disable wrapMultilineConditionalAssignment
--disable wrapMultilineStatementBraces
--disable andOperator
--disable anyObjectProtocol
--disable blankLinesAroundMark
Expand Down

0 comments on commit 8e96777

Please sign in to comment.