-
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.swiftformat
44 lines (43 loc) · 929 Bytes
/
.swiftformat
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
43
44
--swiftversion 5.5
--allman false
--assetliterals visual-width
--closingparen balanced
--commas always
--conflictmarkers reject
--elseposition same-line
--emptybraces no-space
--exponentcase lowercase
--extensionacl on-extension
# --fragment false
--funcattributes preserve
--guardelse auto
--header strip
--hexliteralcase uppercase
--ifdef indent
--importgrouping alpha
--indent 4
--linebreaks lf
--maxwidth none
--modifierorder
--nevertrailing
--nospaceoperators ...,..<
--nowrapoperators
--operatorfunc spaced
--patternlet hoist
--ranges spaced
--redundanttype inferred
--self remove
--semicolons never
--shortoptionals always
--stripunusedargs always
--trailingclosures
--trimwhitespace always
--typeattributes preserve
--varattributes preserve
--voidtype void
--wraparguments before-first
--wrapcollections before-first
--wrapconditions preserve
--wrapparameters before-first
--wrapreturntype preserve
--yodaswap always