forked from smumriak/AppKid
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.swiftformat
executable file
·21 lines (20 loc) · 1.15 KB
/
.swiftformat
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
--swiftversion 5.8
--exclude .build,.vscode,.swiftpm
--indent 4
--tabwidth 4
--xcodeindentation enabled
--decimalgrouping 3,6
--binarygrouping 4,8
--octalgrouping 4,8
--hexgrouping 4,8
--hexliteralcase uppercase
--exponentcase lowercase
--nospaceoperators ...,..<
--trimwhitespace nonblank-lines
--ifdef indent
--indentcase true
--modifierorder open,public,internal,internal(set),private,private(set),fileprivate,fileprivate(set),mutating,override,static,class,convenience,required,lazy,weak,unowned
--marktypes never
--extensionacl on-extension
--wrapenumcases always
--disable andOperator,assertionFailures,blankLinesBetweenImports,conditionalAssignment,emptyBraces,genericExtensions,hoistPatternLet,opaqueGenericParameters,organizeDeclarations,preferKeyPath,redundantFileprivate,redundantGet,redundantLetError,redundantNilInit,redundantObjc,redundantOptionalBinding,redundantPattern,redundantRawValues,redundantReturn,redundantSelf,redundantType,redundantVoidReturnType,sortDeclarations,sortedImports,typeSugar,unusedArguments,void,wrap,wrapArguments,wrapAttributes,wrapConditionalBodies,wrapMultilineStatementBraces,wrapSingleLineComments,wrapSwitchCases,yodaConditions