Skip to content

Commit

Permalink
Disable the preferForLoop swiftformat rule and fix a couple of new wa…
Browse files Browse the repository at this point in the history
…rnings
  • Loading branch information
stefanceriu committed Jan 11, 2024
1 parent 08bc44c commit 1effee6
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 1 deletion.
1 change: 1 addition & 0 deletions .swiftformat
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@

--disable wrapMultiLineStatementBraces
--disable hoistPatternLet
--disable preferForLoop

--commas inline
--ifdef no-indent
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -176,7 +176,7 @@ class NavigationSplitCoordinator: CoordinatorProtocol, ObservableObject, CustomS
case .insert:
break
case .remove(_, let module, _):
self.processCompactLayoutStackModuleRemoval(module)
processCompactLayoutStackModuleRemoval(module)
}
}
}
Expand Down
1 change: 1 addition & 0 deletions ElementX/Sources/Services/Emojis/EmojiCategory.swift
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@
//

import Foundation

struct EmojiCategory: Equatable, Identifiable {
let id: String
let emojis: [EmojiItem]
Expand Down

0 comments on commit 1effee6

Please sign in to comment.