Update SwiftFormat to version 0.50.x (#577)

This commit is contained in:
Danny Mösch 2022-11-01 04:29:42 +01:00 committed by GitHub
parent 5c62d4a3e3
commit b6be913017
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 10 additions and 1 deletions

View file

@ -15,6 +15,7 @@
andOperator, \
anyObjectProtocol, \
assertionFailures, \
blankLineAfterImports, \
blankLinesAroundMark, \
blankLinesAtEndOfScope, \
blankLinesAtStartOfScope, \
@ -30,6 +31,7 @@
enumNamespaces, \
extensionAccessControl, \
fileHeader, \
# genericExtensions, \
hoistPatternLet, \
indent, \
initCoderUnavailable, \
@ -40,6 +42,7 @@
modifierOrder, \
# markTypes, \
numberFormatting, \
# opaqueGenericParameters, \
# organizeDeclarations, \
preferDouble, \
preferKeyPath, \
@ -54,6 +57,7 @@
redundantLetError, \
redundantNilInit, \
redundantObjc, \
# redundantOptionalBinding, \
redundantParens, \
redundantPattern, \
redundantRawValues, \
@ -91,6 +95,7 @@
wrapConditionalBodies, \
# wrapEnumCases, \
# wrapMultilineStatementBraces, \
wrapSingleLineComments, \
# wrapSwitchCases, \
yodaConditions
@ -132,6 +137,10 @@
--emptybraces no-space
### Enum namespaces: "always" (default) or "structs-only"
--enumnamespaces always
### Case of 'e' in numbers: "lowercase" or "uppercase" (default)
--exponentcase lowercase