diff --git a/.swiftformat b/.swiftformat index d0311d3..bfaed2e 100644 --- a/.swiftformat +++ b/.swiftformat @@ -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