-
Notifications
You must be signed in to change notification settings - Fork 0
/
.swiftformat
48 lines (34 loc) · 855 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
46
47
# file options
--swiftversion 5.8
--exclude SpudUIKit/Resources/Assets+Generated.swift
# format options
--binarygrouping 4,8
--octalgrouping 4,8
--decimalgrouping 3,6
--hexgrouping none
--hexliteralcase uppercase
--fractiongrouping disabled
--trimwhitespace always
--indent 4
--indentstrings true
--importgrouping testable-last
--semicolons never
--commas always
--emptybraces spaced
--ifdef no-indent
--nospaceoperators ...,..<
--stripunusedargs closure-only
--wraparguments before-first
--wrapcollections before-first
--wrapparameters before-first
--typeattributes prev-line
--funcattributes prev-line
--varattributes preserve
--elseposition same-line
--voidtype void
--self remove
--selfrequired info,error,fault,debug,trace,critical,UIHostingController
# rules
--enable initCoderUnavailable
--enable isEmpty
--enable redundantStaticSelf