mirror of
https://github.com/obsproject/obs-studio.git
synced 2026-08-24 10:14:13 -05:00
CI: Update swift-format configuration with more explicit rules
This commit is contained in:
+12
-1
@@ -8,5 +8,16 @@
|
|||||||
"maximumBlankLines": 1,
|
"maximumBlankLines": 1,
|
||||||
"respectsExistingLineBreaks": true,
|
"respectsExistingLineBreaks": true,
|
||||||
"lineBreakBeforeControlFlowKeywords": false,
|
"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,
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user