-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy path.swiftformat
85 lines (78 loc) · 1.79 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
72
73
74
75
76
77
78
79
80
81
82
83
84
85
# file options
--symlinks ignore
# format options
--allman false
--indent 4
--exponentcase lowercase
--hexliteralcase uppercase
--linebreaks lf
--binarygrouping 4,8
--hexgrouping 4,8
--decimalgrouping 3,6
--octalgrouping 4,8
--exponentgrouping disabled
--fractiongrouping disabled
--ranges nospace
--self insert
--elseposition same-line
--semicolons inline
--comments indent
--operatorfunc spaced
--commas always
--trimwhitespace always
--stripunusedargs always
--empty void
--wraparguments beforefirst
--closingparen balanced
--wrapcollections beforefirst
--ifdef noindent
--indentcase false
--patternlet hoist
# --experimental enabled
# rules
--enable blankLinesAtStartOfScope
--enable blankLinesAtEndOfScope
--enable blankLinesBetweenScopes
--enable blankLinesAroundMark
--enable consecutiveBlankLines
--enable consecutiveSpaces
--enable duplicateImports
--enable elseOnSameLine
--enable emptyBraces
--enable hoistPatternLet
--enable linebreakAtEndOfFile
--enable linebreaks
--enable redundantBackticks
--enable redundantGet
--enable redundantLet
--enable redundantNilInit
--enable redundantParens
--enable redundantPattern
--enable redundantRawValues
--enable redundantReturn
--enable redundantVoidReturnType
--enable redundantInit
--enable semicolons
--enable sortedImports
--enable spaceAroundBraces
--enable spaceAroundBrackets
--enable spaceAroundComments
--enable spaceAroundGenerics
--enable spaceAroundOperators
--enable spaceAroundParens
--enable spaceInsideBraces
--enable spaceInsideBrackets
--enable spaceInsideComments
--enable spaceInsideGenerics
--enable spaceInsideParens
--enable specifiers
--enable strongOutlets
--enable trailingCommas
--enable trailingSpace
--enable todos
--enable unusedArguments
--enable void
--enable wrapArguments
--disable trailingClosures
--disable redundantSelf
--exclude Pods