-
Notifications
You must be signed in to change notification settings - Fork 0
/
.swiftformat
52 lines (47 loc) · 1 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
# file options
--exclude Tuist,Project.swift
# format options
--allman false
--anonymousforeach convert
--binarygrouping 4,8
--commas inline
--comments indent
--decimalgrouping 3,5
--elseposition same-line
--empty void
--exponentcase lowercase
--exponentgrouping disabled
--fractiongrouping disabled
--header ignore
--hexgrouping 4,8
--hexliteralcase uppercase
--ifdef indent
--indent tab
--indentcase false
--importgrouping testable-bottom
--linebreaks lf
--marktypes never
--maxwidth none
--octalgrouping 4,8
--onelineforeach convert
--operatorfunc spaced
--patternlet hoist
--ranges no-space
--self remove
--semicolons inline
--stripunusedargs always
--swiftversion 5.7
--trimwhitespace always
--typeblanklines preserve
--wraparguments preserve
--wrapcollections preserve
# rules
--enable blankLinesBetweenImports
--enable blockComments
--enable docComments
--enable isEmpty
--enable markTypes
--enable noExplicitOwnership
--enable wrapConditionalBodies
--enable wrapEnumCases
--enable wrapMultilineConditionalAssignment