-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.swiftformat
More file actions
41 lines (33 loc) · 718 Bytes
/
Copy path.swiftformat
File metadata and controls
41 lines (33 loc) · 718 Bytes
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
# SwiftFormat configuration for ADSBar
# Indentation
--indent 4
--tabwidth 4
--smarttabs disabled
--indentcase false
--ifdef indent
# Braces
--allman false
# Wrapping
--wraparguments before-first
--wrapparameters before-first
--wrapcollections before-first
--closingparen balanced
--maxwidth 160
# Spacing
--operatorfunc spaced
--ranges spaced
--trimwhitespace nonblank-lines
# Other
--self remove
--importgrouping alphabetized
--commas inline
--decimalgrouping 3,6
--semicolons never
--header ignore
--stripunusedargs closure-only
# Disabled rules
--disable conditionalAssignment,wrapMultilineStatementBraces,docComments
# Swift version
--swiftversion 5.9
# Exclusions
--exclude ADSBar/ADSBar/Assets.xcassets