Skip to content

Commit 5015f6c

Browse files
chore(deps): update dependency nicklockwood/swiftformat to from: "0.58.0" (#1833)
This PR contains the following updates: | Package | Update | Change | |---|---|---| | [nicklockwood/SwiftFormat](https://redirect.github.com/nicklockwood/SwiftFormat) | minor | `from: "0.57.2"` -> `from: "0.58.0"` | --- ### Release Notes <details> <summary>nicklockwood/SwiftFormat (nicklockwood/SwiftFormat)</summary> ### [`v0.58.0`](https://redirect.github.com/nicklockwood/SwiftFormat/blob/HEAD/CHANGELOG.md#0580-2025-09-22) [Compare Source](https://redirect.github.com/nicklockwood/SwiftFormat/compare/0.57.2...0.58.0) - Added `noForceUnwrapInTests` rule - Added `redundantThrows` rule - Added `redundantAsync` rule - Added `preferFinalClasses` rule - Added support for Swift 6.2 raw identifiers - Updated `trailingCommas` rule to handle cases now supported by Swift 6.2 - Updated `trailingClosures` rule to support multiple trailing closures - Added support for filtering config file options to a specific file path glob - Added `--allow-partial-wrapping false` option to disallow partial wrapping of functions and collections - Updated `propertyTypes` rule to support array, dictionary, and set literals - Added `organizeDeclarations` threshold options to organize types without adding marks - Added `--type-body-marks remove` option to `organizeDeclarations` - Updated `organizeDeclarations` to support organizing protocol bodies - Updated `organizeDeclarations` to treat `associatedtype` declarations as nested types, like `typealias` declarations. - Added `--blank-line-after-switch-case always` option to `blankLineAfterSwitchCase` - Add `--default-test-suite-attributes` option to `preferSwiftTesting` rule - Renamed `--markdown-files` options to `strict` and `lenient` - Updated `redundantPublic` rule to apply to private types - Updated `trailingClosures` and `trailingCommas` rules to support optional function calls - Fixed bug where `markTypes` rule wouldn't add marks after extensions - Fixed issue where `redundantPublic` broke `@_spi` annotated members - Improved parsing of nested markdown code blocks - Fixed issue where `hoistTry` rule could break `@Test` attribute - Fixed issue where `redundantVoidReturnType` rule could accidentally remove closure type - Fix `blankLinesAroundMark` not ignoring trailing comments at start of scope - Renamed `throwingTests` rule to `noForceTryInTests` - Updated `singlePropertyPerLine` to preserve `async let` declarations </details> --- ### Configuration 📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined). 🚦 **Automerge**: Enabled. ♻ **Rebasing**: Whenever PR is behind base branch, or you tick the rebase/retry checkbox. 👻 **Immortal**: This PR will be recreated if closed unmerged. Get [config help](https://redirect.github.com/renovatebot/renovate/discussions) if that's undesired. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box --- This PR has been generated by [Renovate Bot](https://redirect.github.com/renovatebot/renovate). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiI0MS4wLjAiLCJ1cGRhdGVkSW5WZXIiOiI0MS4wLjAiLCJ0YXJnZXRCcmFuY2giOiJtYWluIiwibGFiZWxzIjpbXX0=--> Co-authored-by: cgrindel-self-hosted-renovate[bot] <139595543+cgrindel-self-hosted-renovate[bot]@users.noreply.github.com> Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
1 parent c84aa62 commit 5015f6c

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

examples/pkg_manifest_minimal/Package.resolved

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

examples/pkg_manifest_minimal/Package.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ let package = Package(
77
dependencies: [
88
.package(url: "https://github.com/apple/swift-argument-parser", from: "1.6.1"),
99
.package(url: "https://github.com/apple/swift-log", from: "1.6.4"),
10-
.package(url: "https://github.com/nicklockwood/SwiftFormat", from: "0.57.2"),
10+
.package(url: "https://github.com/nicklockwood/SwiftFormat", from: "0.58.0"),
1111
.package(path: "third_party/my_local_package"),
1212
.package(path: "third_party/NotThatAmazingModule"),
1313
]

0 commit comments

Comments
 (0)