Skip to content

chore(deps): bump github.com/nicklockwood/swiftformat from 0.61.1 to 0.62.1 in /Tools - #27

Open
dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/swift/Tools/github.com/nicklockwood/swiftformat-0.62.1
Open

chore(deps): bump github.com/nicklockwood/swiftformat from 0.61.1 to 0.62.1 in /Tools#27
dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/swift/Tools/github.com/nicklockwood/swiftformat-0.62.1

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github Jul 20, 2026

Copy link
Copy Markdown

Bumps github.com/nicklockwood/swiftformat from 0.61.1 to 0.62.1.

Release notes

Sourced from github.com/nicklockwood/swiftformat's releases.

0.62.1

  • Several rules have been disabled by default: isEmpty, preferContains, preferFirstWhere, preferCountWhere, preferMinOverSorted, preferFlatMap, emptyExtensions
  • Added --guard-like-if-statements option to noGuardInTests rule, defaulting to preserve

[!TIP] SwiftFormat new has a website: swiftformat.info! Rules documentation is now available at swiftformat.info/rules.

0.62.0

SwiftFormat new has a website: swiftformat.info! Rules documentation is now available at swiftformat.info/rules.

  • Added redundantSwiftUIGroup rule
  • Added preferContains rule
  • Added preferMinOverSorted rule
  • Added preferFlatMap rule
  • Added preferFirstWhere rule
  • Enabled isEmpty rule by default
  • Split wrapConditionalBodies rule into wrapIfStatementBodies, wrapIfExpressionBodies, wrapGuardStatementBodies
  • Added --indent-blank-lines option to match the surrounding context
  • Added --line-wrap-threshold option for length-based wrapping
  • Added --type-blank-lines consistent option
  • Added start-only and end-only values to --type-blank-lines
  • Added before-non-local-declarations value for --doc-comments
  • Updated noGuardInTests rule to apply to guard-like if statements, use try #require for boolean conditions
  • Updated redundantSendable rule to be disabled by default, and to skip enums with indirect cases
  • Fixed redundantVariable incorrectly removing variables with modifiers or attributes
  • Fixed preferSwiftTesting spuriously adding UIKit import for UInt types
  • Fixed $name closure parameters incorrectly treated as unused when self has a same-named property
  • Fixed docComments rule incorrectly converting enum case group comments to doc comments
  • Fixed markTypes incorrectly considering top-level macro declarations
  • Fixed blankLinesBetweenScopes incorrectly inserting blank line before #elseif directives
  • Fixed emptyExtensions incorrectly removing extensions containing a freestanding macro declaration
  • Fixed organizeDeclarations incorrectly placing freestanding macro declarations after MARK comments
  • Fixed false positive redundantSendable for indirect enum
  • Fixed spaceAroundParens incorrectly inserting space before Optional.some(...) in subsequent @Test arguments
Commits
  • 2226e9d Update for 0.62.1 release
  • 143471e Change rules that may break build to disabled-by-default (#2596)
  • 6c4004c noGuardInTests: add --guard-like-if-statements option, defaulting to `prese...
  • 8b5e263 Improve rule headling link support
  • 731278a Add dark mode to documentation site (#2586)
  • e57e3dc Add /rules/prerelease page populated from develop branch
  • 7355c6e Add footer to GitHub pages site
  • 224317d Prepare for 0.62.0 release
  • 280924d Add links to rule documentation
  • 96a2a22 Add preferContains rule (merges preferContainsOverFilterIsEmpty, `preferC...
  • Additional commits viewable in compare view

Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

Bumps [github.com/nicklockwood/swiftformat](https://github.com/nicklockwood/SwiftFormat) from 0.61.1 to 0.62.1.
- [Release notes](https://github.com/nicklockwood/SwiftFormat/releases)
- [Commits](nicklockwood/SwiftFormat@0.61.1...0.62.1)

---
updated-dependencies:
- dependency-name: github.com/nicklockwood/swiftformat
  dependency-version: 0.62.1
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot Bot added dependencies Pull requests that update a dependency file swift_package_manager Pull requests that update swift_package_manager code labels Jul 20, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file swift_package_manager Pull requests that update swift_package_manager code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants