Skip to content

Commit 472d559

Browse files
committed
add swiftformat config file
motivation: help contributors follow formatting conventions changes: add swiftformat file that can be used before submitting PR
1 parent 3aa64f1 commit 472d559

File tree

1 file changed

+13
-0
lines changed

1 file changed

+13
-0
lines changed

.swiftformat

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
# file options
2+
3+
--swiftversion 5.0
4+
--exclude .build
5+
6+
# format options
7+
8+
--self insert
9+
--patternlet inline
10+
--stripunusedargs unnamed-only
11+
--ifdef no-indent
12+
13+
# rules

0 commit comments

Comments
 (0)