CI: Update swift-format configuration with more explicit rules

This commit is contained in:
PatTheMav
2025-06-21 01:35:59 +02:00
committed by Ryan Foster
parent 3afc2577d3
commit cdac426843

View File

@@ -8,5 +8,16 @@
"maximumBlankLines": 1,
"respectsExistingLineBreaks": true,
"lineBreakBeforeControlFlowKeywords": false,
"lineBreakBeforeEachArgument": false
"lineBreakBeforeEachArgument": false,
"lineBreakBeforeEachGenericRequirement": false,
"lineBreakBetweenDeclarationAttributes": false,
"prioritizeKeepingFunctionOutputTogether": false,
"indentConditionalCompilationBlocks": true,
"lineBreakAroundMultilineExpressionChainComponents": false,
"fileScopedDeclarationPrivacy": {"accessLevel": "private"},
"indentSwitchCaseLabels": false,
"spacesAroundRangeFormationOperators": false,
"noAssignmentInExpressions": { "allowedFunctions" : ["XCTAssertNoThrow"] },
"multiElementCollectionTrailingCommas": true,
"indentBlankLines": false,
}