-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.swiftformat
More file actions
42 lines (34 loc) · 844 Bytes
/
.swiftformat
File metadata and controls
42 lines (34 loc) · 844 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
30
31
32
33
34
35
36
37
38
39
40
41
42
--swiftversion 6.0
--exclude .build, Sources/CSqlCipher
# Indentation
--indent 4
--tabwidth 4
--smarttabs enabled
--indentcase false
# Line endings / whitespace
--trimwhitespace always
--linebreaks lf
--maxwidth none
# Blank lines
--insertlines enabled
--removelines enabled
--emptybraces no-space
--linebreakbeforebraces false
--allman false
# Imports
--importgrouping testable-bottom
# Closures / trailing syntax
--trailingclosures enabled
--stripunusedargs closure-only
# Semicolons / redundant syntax
--semicolons never
--redundanttype inferred
--redundantbackticks remove
--redundantnil remove
--redundantlet remove
--redundantvoidreturntype closure
# self
--self remove
--selfrequired
# Disabled rules — avoid conflicts with test code and Sendable conformances
--disable noForceUnwrapInTests,noForceTryInTests,redundantSendable