-
Notifications
You must be signed in to change notification settings - Fork 8
/
.swiftformat
71 lines (59 loc) · 1.43 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
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
--swiftversion 6.0
--exclude Pods
--rules andOperator
--rules anyObjectProtocol
--rules blankLinesBetweenScopes
--rules blankLineAfterImports
--rules braces
--rules conditionalAssignment
--rules consecutiveSpaces
--rules consistentSwitchCaseSpacing
--rules duplicateImports
--rules elseOnSameLine
--rules genericExtensions
--rules hoistAwait
--rules hoistTry
--rules indent
--indent 4
--indentcase false
--indentstrings true
--ifdef outdent
--rules leadingDelimiters
--rules linebreakAtEndOfFile
--rules redundantBreak
--rules redundantClosure
--rules redundantFileprivate
--rules redundantGet
--rules redundantInit
--rules redundantLet
--rules redundantLetError
--rules redundantOptionalBinding
--rules redundantParens
--rules redundantPattern
--rules redundantReturn
--rules redundantTypedThrows
--rules redundantVoidReturnType
--rules semicolons
--rules spaceAroundBraces
--rules spaceAroundBrackets
--rules spaceAroundGenerics
--rules spaceAroundOperators
--rules spaceAroundParens
--rules spaceInsideBraces
--rules spaceInsideBrackets
--rules spaceInsideComments
--rules spaceInsideGenerics
--rules spaceInsideParens
--rules strongifiedSelf
--rules todos
--rules trailingClosures
--rules trailingCommas
--rules trailingSpace
--rules typeSugar
--rules void
--rules wrapArguments
--wraparguments before-first
--wrapcollections before-first
--wrapparameters before-first
--closingparen balanced
--rules wrapMultilineStatementBraces