Skip to content

Commit

Permalink
✨ :: 전용 .swiftformat
Browse files Browse the repository at this point in the history
  • Loading branch information
baekteun committed Aug 9, 2023
1 parent 11260ee commit 69dcacf
Showing 1 changed file with 65 additions and 0 deletions.
65 changes: 65 additions & 0 deletions .swiftformat
Original file line number Diff line number Diff line change
@@ -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

0 comments on commit 69dcacf

Please sign in to comment.