Align swift-format configuration with other projects (#150)

* Align `swift-format` configuration with other projects

No code change. We already followed these rules.

* UseSynthesizedInitializer still needs to be set to false

The fix for https://github.com/apple/swift-format/issues/591 is not in `509.0.0` but only in `main`: https://github.com/apple/swift-format/commit/b896e0f8c74dd6e0d9780cd4a086714637be6acc
This commit is contained in:
David Nadoba authored and GitHub committed 2023-10-16 15:37:22 +01:00
1 parent b6de7e7235
commit 3956075d19
1 file changed
+2 -2
+2 -2
View File
@@ -29,7 +29,7 @@
"NeverForceUnwrap" : false,
"NeverUseForceTry" : false,
"NeverUseImplicitlyUnwrappedOptionals" : false,
"NoAccessLevelOnExtensionDeclaration" : false,
"NoAccessLevelOnExtensionDeclaration" : true,
"NoAssignmentInExpressions" : true,
"NoBlockComments" : true,
"NoCasesWithOnlyFallthrough" : true,
@@ -53,6 +53,6 @@
"ValidateDocumentationComments" : false
},
"spacesAroundRangeFormationOperators" : false,
"tabWidth" : 8,
"tabWidth" : 4,
"version" : 1
}