chore(deps): update dependency nicklockwood/swiftformat to v0.56.1 #4867
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.55.6
->0.56.1
Warning
Some dependencies could not be looked up. Check the Dependency Dashboard for more information.
Release Notes
nicklockwood/SwiftFormat (nicklockwood/SwiftFormat)
v0.56.1
Compare Source
trailingCommas
rule would insert commas in places not actually supported by Swift 6.1--wrapeffects
option would incorrectly unwrapasync let
properties following function callredundantEquatable
rule would incorrectly remove==
implementation in factor of synthesized implementation even if type contained non-Equatable properies like tuplesextensionAccessControl
rule would incorrectly hoistpublic
ACL in@preconcurrency
conformancesorganizeDeclarations
rule would sometimes break property declarations with if expression valuesv0.56.0
Compare Source
wrapMultilineFunctionChains
rule to wrap chained method callsenvironmentEntry
rule to update SwiftUIEnvironmentValues
definitions to use the@Entry
macroredundantEquatable
rule to remove explicitEquatable
conformances that would be compiler-synthesizedpreferSwiftTesting
rule to migrate XCTest-based tests to Swift TestingswiftTestingTestCaseNames
rule to remove redundant "test" prefix from Swift Testing test case methods.preferCountWhere
rule to prefercount(where:)
overfilter(_:).count
fileMacro
rule to prefer either#file
or#fileID
, which have the same behavior in Swift 6 and laterblankLinesAfterGuardStatements
rule to remove blank lines between consecuitve guard statements, and add blank line after last guard statement.privateStateVariables
rule to addprivate
access control to@State
propertiesemptyExtensions
rule to remove extensions that contain no declarations or conformances--preserveacronyms
option toacronyms
rule--wrapreturntype never
option towrapArguments
ruletrailingCommas
to support Swift 6.1 trailing comma functionalityopaqueGenericParameters
now supports protocol requirements without a body--wrapeffects
and--wrapreturntype
now support protocol requirements and closure typesblankLinesAtStartOfScope
rule now supports switch cases and closure capture / parameter listsorganizeDeclarations
line count threshold would ignoreswiftformat:sort
directivesorganizeDeclarations
rule would unexpectedly remove non-mark commentsbrew install swiftformat --head
. Prerelease builds are subject to breaking changes.Configuration
📅 Schedule: Branch creation - "after 4pm on friday,before 9am on monday,every weekend" in timezone Europe/Paris, Automerge - At any time (no schedule defined).
🚦 Automerge: Enabled.
♻ 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.