Update dependency nicklockwood/SwiftFormat to v0.52.11 #62
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:
0.52.3
->0.52.11
Release Notes
nicklockwood/SwiftFormat (nicklockwood/SwiftFormat)
v0.52.11
Compare Source
if
/switch
expression workaround for Swift 5.9 bug to handleas!
castsredundantSelf
rulev0.52.10
Compare Source
enumNamespaces
rule breakingimport struct
/class
statementsconditionalAssignment
rule toswitch
statements containing#if
blocksv0.52.9
Compare Source
redundantClosure
removing required closure around conditional statementsredundantClosure
removing closure containing conditional expressions inside a method callredundantClosure
generating invalid code when theredundantReturn
rule is disabledas?
cast would break build in Swift 5.9blankLineAfterImports
introducing spurious blank line before@preconcurrency
attributeenumNamespaces
rule wouldn't be applied immediately after animport
statementswitch
case with multiplewhere
clauses could be parsed incorrectlyv0.52.8
Compare Source
redundantClosure
rule in cases where anif
/switch
expression is not permitteddocComments
rule now correctly handles macro commentsdocComments
rule is now only applied to a comment block if all lines match the patternv0.52.7
Compare Source
conditionalAssignment
andredundantClosure
rules would be applied incorrectlyredundantClosure
rule leaving straytry
orawait
keywords behindv0.52.6
Compare Source
redundantReturn
rule was incorrectly applied to consecutiveif
statements in Swift 5.9v0.52.5
Compare Source
redundantReturn
rule could break fallible initializers in Swift 5.9docComments
rule inside#if
statementsdocComments
rule no longer treats comments starting withNote:
as a special directive#if
statements immediately preceded by a commentbraces
rule when no--maxwidth
is specified--asynccapturing
listv0.52.4
Compare Source
docComments
rule incorrectly replacing comments inside switch cases and if/guard conditionsredundantLet
rule removing requiredlet
insideViewBuilder
modifiersredundantLet
rule removing requiredlet
after@MainActor
or@Sendable
--wrapconditions after-first
if first line of condition is a commentsortTypealiases
rule to also remove duplicate protocols in declarationConfiguration
📅 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 becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR has been generated by Mend Renovate. View repository job log here.