Update dependency nicklockwood/SwiftFormat to from: "0.58.5" #130
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.



This PR contains the following updates:
from: "0.57.2"->from: "0.58.5"Release Notes
nicklockwood/SwiftFormat (nicklockwood/SwiftFormat)
v0.58.5Compare Source
returnkeyword insidefor ... whereloopsfor await case ...loopsXCTUnwrapto the default exclusion list forhoistTryv0.58.4Compare Source
trailingCommarule incorrectly inserting commas inside typedthrowsopaqueGenericParametersrule could cause build errors with existential typesunusedArgumentswhen argument is only referenced inside a macronoGuardInTestsrule now preserves custom failure messagesnoGuardInTestsrule no longer addsthrowsto test methods when not neededv0.58.3Compare Source
[n of X]syntax forInlineArrayin Swift 6.2redundantInitrule could leave orphaned parenthesesredundantInitwas incorrectly applied to(Foo.self as Bar.Type)expressionsredundantSelfruleacronymsrule where one acronym overlaps anotherwrapArgumentsrule--unknown-rulesoption to support environments with older SwiftFormat versionsv0.58.2Compare Source
modifierOrderrule confusedasynceffect forasyncmodifierredundantInitrule to apply toinitcalls with single trailing closureREADME.mdto reflect actual precedence behavior between.swift-versionfiles and--swift-versionarguments.v0.58.1Compare Source
asynceffect could be confused forasyncmodifier, breakingdocCommentsBeforeModifiersrule in protocol body with async functionswrapAttributesrule would unexpectedly wrapasynceffect.swift-versionfile was ignored if not also using config fileredundantAsyncignoredawaitkeyword in string interpolationacronymsrule would incorrectly always capitalize potentially matching acronyms one letter before end of identifierredundantLetrule to handle#Previewmacrov0.58.0Compare Source
noForceUnwrapInTestsruleredundantThrowsruleredundantAsyncrulepreferFinalClassesruletrailingCommasrule to handle cases now supported by Swift 6.2trailingClosuresrule to support multiple trailing closures--allow-partial-wrapping falseoption to disallow partial wrapping of functions and collectionspropertyTypesrule to support array, dictionary, and set literalsorganizeDeclarationsthreshold options to organize types without adding marks--type-body-marks removeoption toorganizeDeclarationsorganizeDeclarationsto support organizing protocol bodiesorganizeDeclarationsto treatassociatedtypedeclarations as nested types, liketypealiasdeclarations.--blank-line-after-switch-case alwaysoption toblankLineAfterSwitchCase--default-test-suite-attributesoption topreferSwiftTestingrule--markdown-filesoptions tostrictandlenientredundantPublicrule to apply to private typestrailingClosuresandtrailingCommasrules to support optional function callsmarkTypesrule wouldn't add marks after extensionsredundantPublicbroke@_spiannotated membershoistTryrule could break@TestattributeredundantVoidReturnTyperule could accidentally remove closure typeblankLinesAroundMarknot ignoring trailing comments at start of scopethrowingTestsrule tonoForceTryInTestssinglePropertyPerLineto preserveasync letdeclarationsConfiguration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR is behind base branch, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR was generated by Mend Renovate. View the repository job log.