Skip to content
Navigation Menu
Sign in
Appearance settings
Platform
AI CODE CREATION
GitHub Copilot
Write better code with AI
GitHub Copilot app
Direct agents from issue to merge
MCP Registry
Integrate external tools
DEVELOPER WORKFLOWS
Actions
Automate any workflow
Codespaces
Instant dev environments
Issues
Plan and track work
Code Review
Manage code changes
Code Quality
Enforce quality at merge
APPLICATION SECURITY
GitHub Advanced Security
Find and fix vulnerabilities
Code security
Secure your code as you build
Secret protection
Stop leaks before they start
EXPLORE
Why GitHub
Documentation
Blog
Changelog
Marketplace
View all features
Solutions
BY COMPANY SIZE
Enterprises
Small and medium teams
Startups
Nonprofits
BY USE CASE
App Modernization
DevSecOps
DevOps
CI/CD
View all use cases
BY INDUSTRY
Healthcare
Financial services
Manufacturing
Government
View all industries
View all solutions
Resources
EXPLORE BY TOPIC
AI
Software Development
DevOps
Security
View all topics
EXPLORE BY TYPE
Customer stories
Events & webinars
Ebooks & reports
Business insights
GitHub Skills
SUPPORT & SERVICES
Documentation
Customer support
Community forum
Trust center
Partners
View all resources
Open Source
COMMUNITY
GitHub Sponsors
Fund open source developers
PROGRAMS
Security Lab
Maintainer Community
GitHub Stars
Archive Program
REPOSITORIES
Topics
Trending
Collections
Enterprise
ENTERPRISE SOLUTIONS
Enterprise platform
AI-powered developer platform
AVAILABLE ADD-ONS
GitHub Advanced Security
Enterprise-grade security features
Copilot for Business
Enterprise-grade AI features
Premium Support
Enterprise-grade 24/7 support
Pricing
Search
/
Sign in
Sign up
Appearance settings
You signed in with another tab or window.
Reload
to refresh your session.
You signed out in another tab or window.
Reload
to refresh your session.
You switched accounts on another tab or window.
Reload
to refresh your session.
Dismiss alert
{{ message }}
nicklockwood
/
SwiftFormat
Public
Notifications
You must be signed in to change notification settings
Fork
702
Star
8.9k
Code
Issues
290
Pull requests
3
Actions
Projects
Security and quality
0
Insights
Additional navigation options
Code
Issues
Pull requests
Actions
Projects
Security and quality
Insights
Commits
Branch selector
develop
User selector
All users
Datepicker
All time
Commit history
Commits on Sep 21, 2026
Avoid duplicate default suite attributes in preferSwiftTesting (#2699)
Show description for 056f0fc
Copilot
and
calda
authored
056f0fc
View commit details
Copy full SHA for 056f0fc
Browse repository at this point
Fix `indent` adding a line wrap indent to a wrapped function name (#2698)
ethanstoner
authored
e2344b0
View commit details
Copy full SHA for e2344b0
Browse repository at this point
Add ability to filter config options to files created after date (#2689)
calda
authored
fd6f2d3
View commit details
Copy full SHA for fd6f2d3
Browse repository at this point
Commits on Sep 16, 2026
Fix Build Release Artifacts job
calda
committed
28330d9
View commit details
Copy full SHA for 28330d9
Browse repository at this point
Strip parens around optional opaque types in Swift 6.4 (#2694)
nicklockwood
authored
84b0103
View commit details
Copy full SHA for 84b0103
Browse repository at this point
Preserve Swift Testing suite with `deinit` as `class` (#2695)
Show description for aaa2c26
Copilot
and
calda
authored
aaa2c26
View commit details
Copy full SHA for aaa2c26
Browse repository at this point
`noGuardInTests`: add `--boolean-guards-in-tests` to preserve boolean guards (#2691)
hxperl
authored and
nicklockwood
committed
741c3e4
View commit details
Copy full SHA for 741c3e4
Browse repository at this point
Fix `sortImports` treating `package` imports as unlabeled (#2692)
yegormi
authored and
nicklockwood
committed
5db6d1f
View commit details
Copy full SHA for 5db6d1f
Browse repository at this point
Preserve pluralized acronyms in Swift Testing test names (#2690)
Show description for 292b319
2 people
authored and
nicklockwood
committed
292b319
View commit details
Copy full SHA for 292b319
Browse repository at this point
Add `extensionAttributes` rule (#2688)
nicklockwood
committed
1132546
View commit details
Copy full SHA for 1132546
Browse repository at this point
Adjust default order for `convenience` modifier
nicklockwood
committed
a6ee09f
View commit details
Copy full SHA for a6ee09f
Browse repository at this point
Preserve unnamed argument underscores in Swift Testing test case names (#2687)
Show description for d2c9940
2 people
authored and
nicklockwood
committed
d2c9940
View commit details
Copy full SHA for d2c9940
Browse repository at this point
Add `--locale` option for deterministic sorting (#2679)
jasin755
authored and
nicklockwood
committed
23907bc
View commit details
Copy full SHA for 23907bc
Browse repository at this point
Handle write-only references in `redundantExtendedLifetime` (#2683)
Show description for f13a723
2 people
authored and
nicklockwood
committed
f13a723
View commit details
Copy full SHA for f13a723
Browse repository at this point
Add `preferStructSwiftTestingSuites` rule to convert Swift Testing suites from classes to structs (#2680)
Show description for 81eb631
2 people
authored and
nicklockwood
committed
81eb631
View commit details
Copy full SHA for 81eb631
Browse repository at this point
Replace `spi-last` with `attributes-last` for import grouping (#2682)
Show description for 87bbba1
2 people
authored and
nicklockwood
committed
87bbba1
View commit details
Copy full SHA for 87bbba1
Browse repository at this point
Update `redundantExtendedLifetime` rule to also apply to underscored assignment pattern (#2681)
calda
authored and
nicklockwood
committed
835b4b9
View commit details
Copy full SHA for 835b4b9
Browse repository at this point
Fix docComments for nested functions after executable code
nicklockwood
committed
3ffb508
View commit details
Copy full SHA for 3ffb508
Browse repository at this point
Fix disable:next handling in multiline strings (#2646)
EhsanAzish80
authored and
nicklockwood
committed
24f37b6
View commit details
Copy full SHA for 24f37b6
Browse repository at this point
Preserve `replacingOccurrences(of: "", with: ...)` in `preferSwiftStringAPI` (#2678)
Show description for 28a1f43
2 people
authored and
nicklockwood
committed
28a1f43
View commit details
Copy full SHA for 28a1f43
Browse repository at this point
Add `spi-last` option to `--import-grouping` (#2677)
calda
authored and
nicklockwood
committed
fe4f849
View commit details
Copy full SHA for fe4f849
Browse repository at this point
Add `--hoist-imports` option to `sortImports`, defaulting to `true` (#2672)
Show description for e7dff0e
2 people
authored and
nicklockwood
committed
e7dff0e
View commit details
Copy full SHA for e7dff0e
Browse repository at this point
Fix `sortDeclarations` handling trailing whitespace and comments (#2676)
Loupehope
authored and
nicklockwood
committed
5da09fe
View commit details
Copy full SHA for 5da09fe
Browse repository at this point
Add `privateSwiftUIDynamicProperties` rule (#2673)
kimdv
authored and
nicklockwood
committed
d3c8545
View commit details
Copy full SHA for d3c8545
Browse repository at this point
Fix building project with Xcode 27
nicklockwood
committed
173d2cb
View commit details
Copy full SHA for 173d2cb
Browse repository at this point
Commits on Aug 30, 2026
Update for 0.63.0
calda
committed
0256422
View commit details
Copy full SHA for 0256422
Browse repository at this point
Add `redundantExtendedLifetime` rule (#2671)
calda
committed
4d5d4ed
View commit details
Copy full SHA for 4d5d4ed
Browse repository at this point
Categorize associatedtype declarations as beforeMarks (#2668)
Show description for ad680e9
Copilot
and
calda
committed
ad680e9
View commit details
Copy full SHA for ad680e9
Browse repository at this point
Increase stack size to 1MB for Linux release builds (#2669)
Benedek Kozma
authored and
calda
committed
e19368e
View commit details
Copy full SHA for e19368e
Browse repository at this point
Fix `preferLazyMap` failing to terminate on an optional-chained receiver (#2666)
jparise
authored and
calda
committed
ab51ed2
View commit details
Copy full SHA for ab51ed2
Browse repository at this point
Fix `redundantClosure` false positive if statements with no else branch (#2659)
Show description for 04726e9
Copilot
and
calda
committed
04726e9
View commit details
Copy full SHA for 04726e9
Browse repository at this point
Don't rewrite map/reduce chains on a lazy receiver (#2664)
jparise
authored and
calda
committed
452430f
View commit details
Copy full SHA for 452430f
Browse repository at this point
Allow preferLazyMap where implicit self capture is already legal (#2663)
jparise
authored and
calda
committed
d472f70
View commit details
Copy full SHA for d472f70
Browse repository at this point
Add Token.isLiteralIdentifier (#2662)
jparise
authored and
calda
committed
ca22623
View commit details
Copy full SHA for ca22623
Browse repository at this point
Fix `preferLazyMap` rewrites that were not behavior-preserving (#2661)
jparise
authored and
calda
committed
1511246
View commit details
Copy full SHA for 1511246
Browse repository at this point
Previous
Next
You can’t perform that action at this time.