chore(deps): update dependency nicklockwood/swiftformat to from: "0.57.2" #849
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.56.4"
->from: "0.57.2"
Release Notes
nicklockwood/SwiftFormat (nicklockwood/SwiftFormat)
v0.57.2
Compare Source
trailingCommas
rule to handle function declarations with generic arguments.--trailing-commas always
to preserve trailing commas rather than unnecessarily removing trailing commas in some edge cases.v0.57.1
Compare Source
--trailing-commas always
.redundantPublic
rule didn't handle extensions on types defined in public extensions.@Bindable
to list of SwiftUI property wrappers used byorganizeDeclarations
rule.preferFileMacro
rule.v0.57.0
Compare Source
--kebab-case
. Existing option names without dashes remain supported for backwards compatibility. Some options have been renamed to improve clarity.:this
and:previous
in comment directives.--config
file arguments.singlePropertyPerLine
rule to convert property declarations defining multiple properties into separate declarations.redundantMemberwiseInit
rule to remove explicit memberwise initializers that are identical to thestruct
's compiler-synthesized initializer.redundantPublic
rule to remove public access control from properties of internal types.modifiersOnSameLine
rule to keep declaration modifiers on the same line.throwingTests
rule to prefer usingtry
andthrows
in unit tests rather thantry!
.noGuardInTests
rule to prefer convert guard statements in unit tests totry #require(...)
/#expect(...)
ortry XCTUnwrap(...)
/XCTAssert(...)
.urlMacro
rule to convertURL(string: "...")!
initializers to a provided#URL("...")
macro.--trailing-commas collections-only
and--trailing-commas multi-element-lists
options totrailingCommas
rule.--type-blank-lines insert
option toblankLinesAtStartOfScope
andblankLinesAtEndOfScope
rules.--wrap-string-interpolation
option to support disabling line wrapping within string interpolation.--line-between-guards
option toblankLinesAfterGuardStatements
rule.docComments
rule.docComments
rule where trailing comments would be converted to doc comments.redundantNilInit
rule would ignore type bodies with conformances.wrapEnumCases
didn't handle some nested types correctly.#
characters in config files couldn't be escaped.#
characters.--wrap-return-type never
didn't respect--allman true
.Configuration
📅 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 was generated by Mend Renovate. View the repository job log.