-
Notifications
You must be signed in to change notification settings - Fork 1
/
.swiftformat
40 lines (35 loc) · 895 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
# format options
--binarygrouping none
--closingparen balanced
--commas inline
--conflictmarkers reject
--decimalgrouping none
--octalgrouping none
--hexgrouping none
--elseposition next-line
--guardelse same-line
--empty void
--exponentcase lowercase
--exponentgrouping disabled
--fractiongrouping disabled
--fragment false
--header ignore
--hexliteralcase uppercase
--ifdef indent
--importgrouping alphabetized
--indent 4
--linebreaks lf
--patternlet hoist
--nospaceoperators
--self remove
--selfrequired
--stripunusedargs closure-only
--trailingclosures
--trimwhitespace always
--wraparguments before-first
--wrapcollections before-first
--xcodeindentation enabled
--disable redundantReturn, wrapMultilineStatementBraces
--enable isEmpty, markTypes, sortSwitchCases, wrapConditionalBodies, wrapEnumCases, organizeDeclarations
# file options
--exclude Pods, Carthage, R.generated.swift