forked from juri/Parse3339
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.swiftformat
77 lines (76 loc) · 1.9 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
--rules anyObjectProtocol,\
blankLinesAroundMark,\
blankLinesAtEndOfScope,\
blankLinesAtStartOfScope,\
blankLinesBetweenScopes,\
braces,\
consecutiveBlankLines,\
consecutiveSpaces,\
duplicateImports,\
elseOnSameLine,\
emptyBraces,\
hoistPatternLet,\
indent,\
initCoderUnavailable,\
isEmpty,\
leadingDelimiters,\
linebreakAtEndOfFile,\
modifierOrder,\
numberFormatting,\
preferKeyPath,\
redundantBackticks,\
redundantBreak,\
redundantExtensionACL,\
redundantFileprivate,\
redundantGet,\
redundantInit,\
redundantLet,\
redundantLetError,\
redundantObjc,\
redundantParens,\
redundantPattern,\
redundantRawValues,\
redundantReturn,\
redundantSelf,\
redundantVoidReturnType,\
semicolons,\
sortedImports,\
spaceAroundBraces,\
spaceAroundBrackets,\
spaceAroundComments,\
spaceAroundGenerics,\
spaceAroundOperators,\
spaceAroundParens,\
spaceInsideBraces,\
spaceInsideBrackets,\
spaceInsideComments,\
spaceInsideGenerics,\
spaceInsideParens,\
strongOutlets,\
strongifiedSelf,\
todos,\
trailingClosures,\
trailingCommas,\
trailingSpace,\
typeSugar,unusedArguments,\
void,\
wrap,\
wrapArguments,\
wrapAttributes,\
wrapMultilineStatementBraces,\
yodaConditions
--binarygrouping 4,8
--closingparen balanced
--commas always
--comments indent
--decimalgrouping 3,6
--elseposition same-line
--hexgrouping 2,8
--ifdef no-indent
--indent 4
--octalgrouping 4,8
--self insert
--stripunusedargs closure-only
--swiftversion 5.8
--wraparguments before-first
--wrapcollections before-first