-
Notifications
You must be signed in to change notification settings - Fork 0
/
.swiftformat
45 lines (43 loc) · 963 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
45
# file options
--swiftversion 5.6
# rules
--enable blankLinesBetweenImports
--enable isEmpty
--enable markTypes
--disable andOperator
--disable extensionAccessControl
--disable blankLinesAtEndOfScope
--disable blankLinesAtStartOfScope
--disable redundantType
--disable sortedImports
--disable wrapMultilineStatementBraces
# options
--assetliterals visual-width
--beforemarks
--funcattributes prev-line
--groupedextension "MARK: %c"
--header ignore
--hexgrouping none
--ifdef no-indent
--indent 4
--lifecycle
--marktypes never
--modifierorder
--nevertrailing
--nospaceoperators
--nowrapoperators
--octalgrouping none
--self init-only
--selfrequired
--semicolons never
--stripunusedargs closure-only
--trailingclosures
--typeattributes prev-line
--varattributes same-line
--wraparguments before-first
--wrapcollections before-first
--wrapconditions preserve
--wrapparameters before-first
--wrapreturntype preserve
--wrapternary default
--wraptypealiases preserve