From 69dcacfa6c0f5fb3f79be6ae6f90e5586d8bcaf6 Mon Sep 17 00:00:00 2001 From: baegteun Date: Wed, 9 Aug 2023 22:40:27 +0900 Subject: [PATCH] =?UTF-8?q?:sparkles:=20::=20=EC=A0=84=EC=9A=A9=20.swiftfo?= =?UTF-8?q?rmat?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .swiftformat | 65 ++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 65 insertions(+) create mode 100644 .swiftformat diff --git a/.swiftformat b/.swiftformat new file mode 100644 index 0000000..afaf58f --- /dev/null +++ b/.swiftformat @@ -0,0 +1,65 @@ + +-- exclude fastlane,Dependencies,Carthage + +# options +--maxwidth 120 +--indent 4 +--trimwhitespace always # trailingSpace +--lineaftermarks false # fileHeader +--wraparguments before-first # wrapArguments +--wrapparameters before-first # wrapArguments +--wrapcollections before-first # wrapArguments +--someAny disabled # opaqueGenericParameters + +# rules +--rules anyObjectProtocol +--rules blankLineAfterImports +--rules blankLinesAroundMark +--rules blankLinesAtEndOfScope +--rules blankLinesAtStartOfScope +--rules blankLinesBetweenImports +--rules blankLinesBetweenScopes +--rules braces +--rules consecutiveBlankLines +--rules consecutiveSpaces +--rules docComments +--rules duplicateImports +--rules elseOnSameLine +--rules emptyBraces +--rules enumNamespaces +--rules extensionAccessControl +--rules fileHeader +--rules hoistAwait +--rules hoistPatternLet +--rules hoistTry +--rules initCoderUnavailable +--rules indent +--rules isEmpty +--rules leadingDelimiters +--rules linebreakAtEndOfFile +--rules modifierOrder +--rules numberFormatting +--rules opaqueGenericParameters +--rules preferKeyPath +--rules redundantExtensionACL +--rules redundantOptionalBinding +--rules redundantParens +--rules redundantVoidReturnType +--rules semicolons +--rules sortedImports +--rules spaceAroundBraces +--rules spaceAroundBrackets +--rules spaceAroundComments +--rules spaceAroundGenerics +--rules spaceInsideBraces +--rules spaceInsideBrackets +--rules spaceInsideComments +--rules spaceInsideGenerics +--rules spaceInsideParens +--rules todos +--rules trailingClosures +--rules trailingSpace +--rules typeSugar +--rules void +--rules wrap +--rules wrapArguments \ No newline at end of file