* Update from hummingbird-project-template 572d468b2cabeca286314c5a35196bd42445c8ef * run swift-format * Remove .swiftformat --------- Co-authored-by: adam-fowler <adam-fowler@users.noreply.github.com> Co-authored-by: Adam Fowler <adamfowler71@gmail.com>
64 lines
2.2 KiB
Plaintext
64 lines
2.2 KiB
Plaintext
{
|
|
"version" : 1,
|
|
"indentation" : {
|
|
"spaces" : 4
|
|
},
|
|
"tabWidth" : 4,
|
|
"fileScopedDeclarationPrivacy" : {
|
|
"accessLevel" : "private"
|
|
},
|
|
"spacesAroundRangeFormationOperators" : false,
|
|
"indentConditionalCompilationBlocks" : false,
|
|
"indentSwitchCaseLabels" : false,
|
|
"lineBreakAroundMultilineExpressionChainComponents" : false,
|
|
"lineBreakBeforeControlFlowKeywords" : false,
|
|
"lineBreakBeforeEachArgument" : true,
|
|
"lineBreakBeforeEachGenericRequirement" : true,
|
|
"lineLength" : 150,
|
|
"maximumBlankLines" : 1,
|
|
"respectsExistingLineBreaks" : true,
|
|
"prioritizeKeepingFunctionOutputTogether" : true,
|
|
"multiElementCollectionTrailingCommas" : true,
|
|
"rules" : {
|
|
"AllPublicDeclarationsHaveDocumentation" : false,
|
|
"AlwaysUseLiteralForEmptyCollectionInit" : false,
|
|
"AlwaysUseLowerCamelCase" : false,
|
|
"AmbiguousTrailingClosureOverload" : true,
|
|
"BeginDocumentationCommentWithOneLineSummary" : false,
|
|
"DoNotUseSemicolons" : true,
|
|
"DontRepeatTypeInStaticProperties" : true,
|
|
"FileScopedDeclarationPrivacy" : true,
|
|
"FullyIndirectEnum" : true,
|
|
"GroupNumericLiterals" : true,
|
|
"IdentifiersMustBeASCII" : true,
|
|
"NeverForceUnwrap" : false,
|
|
"NeverUseForceTry" : false,
|
|
"NeverUseImplicitlyUnwrappedOptionals" : false,
|
|
"NoAccessLevelOnExtensionDeclaration" : true,
|
|
"NoAssignmentInExpressions" : true,
|
|
"NoBlockComments" : true,
|
|
"NoCasesWithOnlyFallthrough" : true,
|
|
"NoEmptyTrailingClosureParentheses" : true,
|
|
"NoLabelsInCasePatterns" : true,
|
|
"NoLeadingUnderscores" : false,
|
|
"NoParensAroundConditions" : true,
|
|
"NoVoidReturnOnFunctionSignature" : true,
|
|
"OmitExplicitReturns" : true,
|
|
"OneCasePerLine" : true,
|
|
"OneVariableDeclarationPerLine" : true,
|
|
"OnlyOneTrailingClosureArgument" : true,
|
|
"OrderedImports" : true,
|
|
"ReplaceForEachWithForLoop" : true,
|
|
"ReturnVoidInsteadOfEmptyTuple" : true,
|
|
"UseEarlyExits" : false,
|
|
"UseExplicitNilCheckInConditions" : false,
|
|
"UseLetInEveryBoundCaseVariable" : false,
|
|
"UseShorthandTypeNames" : true,
|
|
"UseSingleLinePropertyGetter" : false,
|
|
"UseSynthesizedInitializer" : false,
|
|
"UseTripleSlashForDocumentationComments" : true,
|
|
"UseWhereClausesInForLoops" : false,
|
|
"ValidateDocumentationComments" : false
|
|
}
|
|
}
|