-
Notifications
You must be signed in to change notification settings - Fork 0
/
.swiftformat
76 lines (71 loc) · 1.55 KB
/
.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
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
# format options
--swiftversion 5.6
--minversion 0
--symlinks ignore
--allman false
--assetliterals visual-width
--beforemarks
--binarygrouping none
--categorymark "MARK: %c"
--classthreshold 0
--commas inline
--conflictmarkers reject
--decimalgrouping none
--elseposition same-line
--enumthreshold 0
--exponentcase lowercase
--exponentgrouping disabled
--extensionacl on-extension
--extensionlength 0
--extensionmark "MARK: - %t + %c"
--fractiongrouping disabled
--fragment false
--groupedextension "MARK: %c"
--guardelse next-line
--header ignore
--hexgrouping none
--hexliteralcase lowercase
--lifecycle
--linebreaks lf
--markextensions always
--marktypes always
--modifierorder
--nevertrailing
--nospaceoperators ...,..<
--nowrapoperators
--octalgrouping none
--operatorfunc spaced
--organizetypes class,enum,struct
--patternlet hoist
--ranges spaced
--redundanttype inferred
--self init-only
--selfrequired
--semicolons inline
--shortoptionals always
--smarttabs enabled
--stripunusedargs closure-only
--structthreshold 0
--trailingclosures
--trimwhitespace always
--typemark "MARK: - %t"
--varattributes same-line
--typeattributes prev-line
--funcattributes prev-line
--voidtype void
--maxwidth 180
--closingparen balanced
--wraparguments before-first
--wrapcollections before-first
--wrapconditions before-first
--wrapparameters before-first
--wrapreturntype preserve
--xcodeindentation enabled
--tabwidth unspecified
--ifdef no-indent
--indent 4
--indentcase false
--yodaswap always
# rules
--enable isEmpty, sortedSwitchCases
--disable wrapMultilineStatementBraces