1+ # Stream rules
2+
3+ --swiftversion 5.3
4+
5+ # Use 'swiftformat --options' to list all of the possible options
6+
7+ --header "\nsnacker\nCopyright © {created.year} Space Code. All rights reserved.\n//"
8+
9+ --enable blankLinesBetweenScopes
10+ --enable blankLinesAtStartOfScope
11+ --enable blankLinesAtEndOfScope
12+ --enable blankLinesAroundMark
13+ --enable anyObjectProtocol
14+ --enable consecutiveBlankLines
15+ --enable consecutiveSpaces
16+ --enable duplicateImports
17+ --enable elseOnSameLine
18+ --enable emptyBraces
19+ --enable initCoderUnavailable
20+ --enable leadingDelimiters
21+ --enable numberFormatting
22+ --enable preferKeyPath
23+ --enable redundantBreak
24+ --enable redundantExtensionACL
25+ --enable redundantFileprivate
26+ --enable redundantGet
27+ --enable redundantInit
28+ --enable redundantLet
29+ --enable redundantLetError
30+ --enable redundantNilInit
31+ --enable redundantObjc
32+ --enable redundantParens
33+ --enable redundantPattern
34+ --enable redundantRawValues
35+ --enable redundantReturn
36+ --enable redundantSelf
37+ --enable redundantVoidReturnType
38+ --enable semicolons
39+ --enable sortImports
40+ --enable sortSwitchCases
41+ --enable spaceAroundBraces
42+ --enable spaceAroundBrackets
43+ --enable spaceAroundComments
44+ --enable spaceAroundGenerics
45+ --enable spaceAroundOperators
46+ --enable spaceInsideBraces
47+ --enable spaceInsideBrackets
48+ --enable spaceInsideComments
49+ --enable spaceInsideGenerics
50+ --enable spaceInsideParens
51+ --enable strongOutlets
52+ --enable strongifiedSelf
53+ --enable todos
54+ --enable trailingClosures
55+ --enable unusedArguments
56+ --enable void
57+ --enable markTypes
58+ --enable isEmpty
59+
60+ # format options
61+
62+ --wraparguments before-first
63+ --wrapcollections before-first
64+ --maxwidth 140
0 commit comments