Skip to content

Commit

Permalink
setup formatting for swiftui code
Browse files Browse the repository at this point in the history
  • Loading branch information
russellwheatley committed Mar 5, 2025
1 parent e658b54 commit 7f02ddb
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .swiftformat
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
# Formatting Options
--indent 2
--maxwidth 100
--wrapparameters afterfirst
--disable wrapMultilineStatementBraces
5 changes: 5 additions & 0 deletions format-swift.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
#!/bin/bash

swiftformat ./FirebaseSwiftUI

swiftformat ./samples/swiftui/FirebaseSwiftUIExample

0 comments on commit 7f02ddb

Please sign in to comment.