Skip to content

Commit

Permalink
. e Enable default SwiftFormat rules that don't currently complain
Browse files Browse the repository at this point in the history
  • Loading branch information
jonreid committed May 28, 2024
1 parent 20f967f commit f4c1f7c
Showing 1 changed file with 0 additions and 76 deletions.
76 changes: 0 additions & 76 deletions .swiftformat
Original file line number Diff line number Diff line change
@@ -1,90 +1,14 @@
# Default rules to disable
--disable andOperator
--disable anyObjectProtocol
--disable applicationMain
--disable assertionFailures
--disable blankLineAfterImports
--disable blankLinesAroundMark
--disable blankLinesAtEndOfScope
--disable blankLinesAtStartOfScope
--disable blankLinesBetweenChainedFunctions
--disable blankLinesBetweenScopes
--disable braces
--disable conditionalAssignment
--disable consecutiveBlankLines
--disable consecutiveSpaces
--disable duplicateImports
--disable elseOnSameLine
--disable emptyBraces
--disable enumNamespaces
--disable extensionAccessControl
--disable fileHeader
--disable genericExtensions
--disable headerFileName
--disable hoistAwait
--disable hoistPatternLet
--disable hoistTry
--disable indent
--disable initCoderUnavailable
--disable leadingDelimiters
--disable linebreakAtEndOfFile
--disable linebreaks
--disable modifierOrder
--disable numberFormatting
--disable opaqueGenericParameters
--disable preferForLoop
--disable preferKeyPath
--disable redundantBackticks
--disable redundantBreak
--disable redundantClosure
--disable redundantExtensionACL
--disable redundantFileprivate
--disable redundantGet
--disable redundantInit
--disable redundantInternal
--disable redundantLet
--disable redundantLetError
--disable redundantNilInit
--disable redundantObjc
--disable redundantOptionalBinding
--disable redundantParens
--disable redundantPattern
--disable redundantRawValues
--disable redundantReturn
--disable redundantSelf
--disable redundantStaticSelf
--disable redundantType
--disable redundantVoidReturnType
--disable semicolons
--disable sortDeclarations
--disable sortImports
--disable sortTypealiases
--disable spaceAroundBraces
--disable spaceAroundBrackets
--disable spaceAroundComments
--disable spaceAroundGenerics
--disable spaceAroundOperators
--disable spaceAroundParens
--disable spaceInsideBraces
--disable spaceInsideBrackets
--disable spaceInsideComments
--disable spaceInsideGenerics
--disable spaceInsideParens
--disable strongOutlets
--disable strongifiedSelf
--disable todos
--disable trailingClosures
--disable trailingCommas
--disable trailingSpace
--disable typeSugar
--disable unusedArguments
--disable void
--disable wrap
--disable wrapArguments
--disable wrapAttributes
--disable wrapLoopBodies
--disable wrapMultilineStatementBraces
--disable wrapSingleLineComments
--disable yodaConditions

# Opt-in rules to enable

0 comments on commit f4c1f7c

Please sign in to comment.