| Name | Modified | Size | Downloads / Week |
|---|---|---|---|
| Parent folder | |||
| swiftformat_linux_aarch64.zip | 2026-07-06 | 23.2 MB | |
| swiftformat.zip | 2026-07-06 | 2.3 MB | |
| swiftformat_linux.zip | 2026-07-06 | 24.2 MB | |
| swiftformat.artifactbundle.zip | 2026-07-06 | 46.6 MB | |
| SwiftFormat.amd64.msi | 2026-07-06 | 17.5 MB | |
| SwiftFormat.arm64.msi | 2026-07-06 | 17.2 MB | |
| SwiftFormat.for.Xcode.app.zip | 2026-07-06 | 9.5 MB | |
| 0.62.0 source code.tar.gz | 2026-07-06 | 4.3 MB | |
| 0.62.0 source code.zip | 2026-07-06 | 4.7 MB | |
| README.md | 2026-07-06 | 2.0 kB | |
| Totals: 10 Items | 149.6 MB | 0 | |
SwiftFormat new has a website: swiftformat.info! Rules documentation is now available at swiftformat.info/rules.
- Added
redundantSwiftUIGrouprule - Added
preferContainsrule - Added
preferMinOverSortedrule - Added
preferFlatMaprule - Added
preferFirstWhererule - Enabled
isEmptyrule by default - Split
wrapConditionalBodiesrule intowrapIfStatementBodies,wrapIfExpressionBodies,wrapGuardStatementBodies - Added
--indent-blank-linesoption to match the surrounding context - Added
--line-wrap-thresholdoption for length-based wrapping - Added
--type-blank-lines consistentoption - Added
start-onlyandend-onlyvalues to--type-blank-lines - Added
before-non-local-declarationsvalue for--doc-comments - Updated
noGuardInTestsrule to apply to guard-like if statements, usetry #requirefor boolean conditions - Updated
redundantSendablerule to be disabled by default, and to skip enums with indirect cases - Fixed
redundantVariableincorrectly removing variables with modifiers or attributes - Fixed
preferSwiftTestingspuriously addingUIKitimport forUInttypes - Fixed
$nameclosure parameters incorrectly treated as unused whenselfhas a same-named property - Fixed
docCommentsrule incorrectly converting enum case group comments to doc comments - Fixed
markTypesincorrectly considering top-level macro declarations - Fixed
blankLinesBetweenScopesincorrectly inserting blank line before#elseifdirectives - Fixed
emptyExtensionsincorrectly removing extensions containing a freestanding macro declaration - Fixed
organizeDeclarationsincorrectly placing freestanding macro declarations afterMARKcomments - Fixed false positive
redundantSendableforindirect enum - Fixed
spaceAroundParensincorrectly inserting space beforeOptional.some(...)in subsequent@Testarguments