-
Notifications
You must be signed in to change notification settings - Fork 78
/
.swiftformat
40 lines (36 loc) · 893 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
# file options
--exclude Snapshots,Build
# format options
--acronyms
--allman false
--binarygrouping 4,8
--commas always
--decimalgrouping 3,6
--elseposition same-line
--voidtype void
--exponentcase lowercase
--exponentgrouping disabled
--extensionacl on-declarations
--fractiongrouping disabled
--header \n {file}\n AMSMB2\n\n Created by Amir Abbas on {created}.\n Copyright © {created.year} Mousavian. Distributed under MIT license.\n All rights reserved.\n
--hexgrouping 4,8
--hexliteralcase lowercase
--ifdef outdent
--indent 4
--indentcase false
--importgrouping testable-bottom
--linebreaks lf
--maxwidth 132
--octalgrouping 4,8
--operatorfunc no-space
--patternlet inline
--ranges no-space
--self init-only
--semicolons inline
--stripunusedargs always
--swiftversion 5.6
--trimwhitespace nonblank-lines
--wraparguments preserve
--wrapcollections preserve
# rules
--enable isEmpty