Skip to content

Commit

Permalink
Align swift-format configuration with other projects (#150)
Browse files Browse the repository at this point in the history
* 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 swiftlang/swift-format#591 is not in `509.0.0` but only in `main`: swiftlang/swift-format@b896e0f
  • Loading branch information
dnadoba authored Oct 16, 2023
1 parent b6de7e7 commit 3956075
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .swift-format
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@
"NeverForceUnwrap" : false,
"NeverUseForceTry" : false,
"NeverUseImplicitlyUnwrappedOptionals" : false,
"NoAccessLevelOnExtensionDeclaration" : false,
"NoAccessLevelOnExtensionDeclaration" : true,
"NoAssignmentInExpressions" : true,
"NoBlockComments" : true,
"NoCasesWithOnlyFallthrough" : true,
Expand All @@ -53,6 +53,6 @@
"ValidateDocumentationComments" : false
},
"spacesAroundRangeFormationOperators" : false,
"tabWidth" : 8,
"tabWidth" : 4,
"version" : 1
}

0 comments on commit 3956075

Please sign in to comment.