-
Notifications
You must be signed in to change notification settings - Fork 7
Expand file tree
/
Copy path.swiftformat
More file actions
29 lines (27 loc) · 763 Bytes
/
.swiftformat
File metadata and controls
29 lines (27 loc) · 763 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
# SwiftFormat Configuration File
# For documentation, see: https://github.com/nicklockwood/SwiftFormat/blob/main/Rules.md
--header ignore
--indent tab
--ifdef no-indent
--ranges preserve
--extensionacl on-declarations
--trailing-commas always
--nil-init insert
--import-grouping testable-last
--wrap-conditions before-first
--guard-else next-line
# Disabled rules
--disable blankLinesAroundMark
--disable blankLinesBetweenScopes
--disable docComments
--disable redundantBackticks
--disable redundantLetError
--disable redundantRawValues
--disable redundantSelf
--disable redundantStaticSelf
--disable redundantType
--disable redundantTypedThrows
--disable redundantViewBuilder
--disable unusedArguments
--disable wrapFunctionBodies
--disable wrapPropertyBodies