Skip to content

Commit 98fc351

Browse files
committed
Add .swiftformat
1 parent 4adb8b0 commit 98fc351

File tree

1 file changed

+23
-0
lines changed

1 file changed

+23
-0
lines changed

.swiftformat

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
# SwiftFormat Configuration File
2+
# For documentation, see: https://github.com/nicklockwood/SwiftFormat/blob/main/Rules.md
3+
4+
--header ignore
5+
--indent tab
6+
--ifdef preserve
7+
--ranges preserve
8+
--extensionacl on-declarations
9+
--trailing-commas always
10+
--nil-init insert
11+
12+
# Disabled rules
13+
--disable blankLinesAroundMark
14+
--disable blankLinesBetweenScopes
15+
--disable docComments
16+
--disable redundantBackticks
17+
--disable redundantLetError
18+
--disable redundantRawValues
19+
--disable redundantSelf
20+
--disable redundantStaticSelf
21+
--disable redundantType
22+
--disable redundantTypedThrows
23+
--disable unusedArguments

0 commit comments

Comments
 (0)