1
0
Эх сурвалжийг харах

CI: Update swift-format configuration with more explicit rules

PatTheMav 4 сар өмнө
parent
commit
cdac426843
1 өөрчлөгдсөн 12 нэмэгдсэн , 1 устгасан
  1. 12 1
      .swift-format

+ 12 - 1
.swift-format

@@ -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,
 }