-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.swiftformat
12 lines (12 loc) · 1.19 KB
/
.swiftformat
1
2
3
4
5
6
7
8
9
10
11
12
--swiftversion 5.3
--exclude **/*.generated.swift
--rules blankLinesAroundMark,blankLinesAtEndOfScope,blankLinesAtStartOfScope,blankLinesBetweenScopes,braces,consecutiveBlankLines,consecutiveSpaces,duplicateImports,elseOnSameLine,emptyBraces,hoistPatternLet,indent,leadingDelimiters,modifierOrder,preferKeyPath,redundantBackticks,redundantBreak,redundantExtensionACL,redundantFileprivate,redundantGet,redundantInit,redundantLet,redundantLetError,redundantNilInit,redundantObjc,redundantParens,redundantPattern,redundantRawValues,redundantType,redundantVoidReturnType,semicolons,sortedImports,spaceAroundBraces,spaceAroundBrackets,spaceAroundComments,spaceAroundGenerics,spaceAroundOperators,spaceAroundParens,spaceInsideBraces,spaceInsideBrackets,spaceInsideComments,spaceInsideGenerics,spaceInsideParens,strongifiedSelf,todos,trailingCommas,typeSugar,void,wrapArguments
--ifdef no-indent
--importgrouping testable-bottom
--indent tab
--semicolons never
--modifierorder open,public,internal,internal(set),fileprivate,fileprivate(set),private,private(set),override,required,static,class,final,convenience,lazy,weak
--tabwidth 4
--wraparguments before-first
--wrapcollections before-first
--wrapparameters before-first