Skip to content

Commit e878eb9

Browse files
committed
ci: Updating swift-format rule for swift 6.1.0 instead of swift 6.2.
1 parent bc50dff commit e878eb9

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

.swift-format

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,13 +21,18 @@
2121
]
2222
},
2323
"prioritizeKeepingFunctionOutputTogether" : false,
24-
"reflowMultilineStringLiterals" : "never",
24+
"reflowMultilineStringLiterals" : {
25+
"never" : {
26+
27+
}
28+
},
2529
"respectsExistingLineBreaks" : true,
2630
"rules" : {
2731
"AllPublicDeclarationsHaveDocumentation" : false,
2832
"AlwaysUseLiteralForEmptyCollectionInit" : false,
2933
"AlwaysUseLowerCamelCase" : true,
3034
"AmbiguousTrailingClosureOverload" : true,
35+
"AvoidRetroactiveConformances" : true,
3136
"BeginDocumentationCommentWithOneLineSummary" : false,
3237
"DoNotUseSemicolons" : true,
3338
"DontRepeatTypeInStaticProperties" : true,
@@ -42,6 +47,7 @@
4247
"NoAssignmentInExpressions" : true,
4348
"NoBlockComments" : true,
4449
"NoCasesWithOnlyFallthrough" : true,
50+
"NoEmptyLinesOpeningClosingBraces" : false,
4551
"NoEmptyTrailingClosureParentheses" : true,
4652
"NoLabelsInCasePatterns" : true,
4753
"NoLeadingUnderscores" : false,

0 commit comments

Comments
 (0)