-
Notifications
You must be signed in to change notification settings - Fork 0
/
.swiftformat
56 lines (55 loc) · 1.99 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
# enabled rules
--rules braces,trailingCommas,typeSugar,isEmpty,yodaConditions,anyObjectProtocol,andOperator,isEmpty,blankLinesAroundMark,blankLinesBetweenScopes,braces,consecutiveBlankLines,consecutiveSpaces
--rules duplicateImports,elseOnSameLine,emptyBraces,fileHeader,hoistPatternLet,leadingDelimiters,linebreakAtEndOfFile
--rules linebreaks,numberFormatting,ranges
--rules redundantBackticks,redundantBreak,redundantExtensionACL,redundantFileprivate
--rules redundantInit,redundantGet,redundantLet,redundantLetError
--rules redundantNilInit,redundantObjc,redundantParens,redundantPattern
--rules redundantRawValues,redundantVoidReturnType,semicolons,spaceAroundBraces,spaceAroundBrackets,spaceAroundComments,spaceAroundGenerics
--rules redundantSelf
--rules spaceAroundParens,spaceInsideBraces,spaceInsideBrackets,spaceInsideComments
--rules specifiers,strongOutlets,strongifiedSelf,todos,trailingClosures,trailingCommas,typeSugar,unusedArguments
--rules void,wrap,wrapArguments
--rules indent,trailingSpace
--rules spaceInsideGenerics,spaceInsideParens
--rules sortedImports
# config
--allman false
--binarygrouping none
--closingparen same-line
--commas inline
--conflictmarkers reject
--decimalgrouping none
--elseposition same-line
--empty void
--exponentcase lowercase
--exponentgrouping disabled
--fractiongrouping disabled
--fragment false
--header ignore
--hexgrouping none
--hexliteralcase uppercase
--ifdef no-indent
--importgrouping testable-bottom
--indent 4
--indentcase false
--linebreaks lf
--maxwidth none
--nospaceoperators ...,..<,..>
--octalgrouping none
--operatorfunc spaced
--patternlet hoist
--self remove
--selfrequired
--semicolons never
--stripunusedargs closure-only
--tabwidth unspecified
--trailingclosures
--trimwhitespace always
--wraparguments preserve
--wrapcollections preserve
--closingparen balanced
--xcodeindentation enabled
--disable redundantReturn,blankLinesAtEndOfScope,blankLinesAtStartOfScope
--enable isEmpty
--exclude Pods,Generated,Carthage,AppiumTests,fastlane,SnapshotTests,WireMock