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 }}
airbnb
/
swift
Public
Notifications
You must be signed in to change notification settings
Fork
352
Star
2.8k
Code
Pull requests
1
Discussions
Actions
Security and quality
0
Insights
Additional navigation options
Code
Pull requests
Discussions
Actions
Security and quality
Insights
Commits
Branch selector
master
User selector
All users
Datepicker
All time
Commit history
Commits on Oct 2, 2026
Adjust examples for Swift Testing expectations rule (#413)
calda
authored
68ba5c7
View commit details
Copy full SHA for 68ba5c7
Browse repository at this point
Commits on Sep 28, 2026
Add rule: prefer struct for Swift Testing suites (#409)
Show description for b04f251
3 people
authored
b04f251
View commit details
Copy full SHA for b04f251
Browse repository at this point
Commits on Sep 21, 2026
Update SwiftFormat `--swift-version` to 6.4 (#410)
calda
authored
ac4c221
View commit details
Copy full SHA for ac4c221
Browse repository at this point
Add rule to prefer Swift Testing for new test suites (#408)
calda
authored
7f06bf2
View commit details
Copy full SHA for 7f06bf2
Browse repository at this point
Commits on Sep 12, 2026
Sort imports with attributes last, alphabetized by the attribute name (#407)
calda
authored
d73e824
View commit details
Copy full SHA for d73e824
Browse repository at this point
Avoid using `withExtendedLifetime` in unit tests (#405)
calda
authored
30c9e6b
View commit details
Copy full SHA for 30c9e6b
Browse repository at this point
Commits on Sep 3, 2026
Add rule: prefer replacing(_:with:) over replacingOccurrences(of:with:) (#406)
Show description for 6dc33c9
3 people
authored
6dc33c9
View commit details
Copy full SHA for 6dc33c9
Browse repository at this point
Sort `@_spi` imports last (#404)
calda
authored
a52b124
View commit details
Copy full SHA for a52b124
Browse repository at this point
Commits on Aug 21, 2026
Add rule: prefer lazy.map before single-pass operations (#402)
Show description for 44685a4
jparise
authored
44685a4
View commit details
Copy full SHA for 44685a4
Browse repository at this point
Commits on Aug 6, 2026
Add rule to prefer if expressions over ternary operators in single-expression return values (#399)
calda
authored
78a999a
View commit details
Copy full SHA for 78a999a
Browse repository at this point
Commits on Aug 3, 2026
Add rule to omit backticks unless required by the language (#400)
calda
authored
176db45
View commit details
Copy full SHA for 176db45
Browse repository at this point
Commits on Jul 21, 2026
Fix broken #file / #filePath custom SwiftLint rules (#398)
Show description for 3bdaeff
Copilot
and
calda
authored
3bdaeff
View commit details
Copy full SHA for 3bdaeff
Browse repository at this point
Commits on Jul 18, 2026
Update swiftformat.info links to https (#397)
calda
authored
93fe94a
View commit details
Copy full SHA for 93fe94a
Browse repository at this point
Commits on Jul 16, 2026
Add rule to prefer reusing the existing identifier when unwrapping an optional (#393)
calda
authored
25aa7ca
View commit details
Copy full SHA for 25aa7ca
Browse repository at this point
Commits on Jul 14, 2026
Add rule to wrap if statement and if expression bodies (#396)
calda
authored
a7ba2f7
View commit details
Copy full SHA for a7ba2f7
Browse repository at this point
Commits on Jul 9, 2026
Move Performance section below Testing section (#395)
calda
authored
bf059ec
View commit details
Copy full SHA for bf059ec
Browse repository at this point
Add new Performance section and include collection-related performance rules in AI skill (#394)
calda
authored
227aa89
View commit details
Copy full SHA for 227aa89
Browse repository at this point
Commits on Jul 8, 2026
Merge preferContainsOver{First,Range} README entries into preferContains (#392)
Show description for 87e97c4
jparise
authored
87e97c4
View commit details
Copy full SHA for 87e97c4
Browse repository at this point
Commits on Jul 7, 2026
Update SwiftFormat build and renamed rules (#391)
calda
authored
566faa8
View commit details
Copy full SHA for 566faa8
Browse repository at this point
Commits on Jul 6, 2026
Update SwiftFormat links to http://swiftformat.info (#390)
calda
authored
b21a830
View commit details
Copy full SHA for b21a830
Browse repository at this point
Commits on Jul 1, 2026
Add rule: prefer contains(where:) over first(where:) compared against nil (#388)
jparise
authored
622ecc8
View commit details
Copy full SHA for 622ecc8
Browse repository at this point
Add rule: prefer min() over sorted().first (#387)
jparise
authored
e8ca849
View commit details
Copy full SHA for e8ca849
Browse repository at this point
Commits on Jun 30, 2026
Document `noGuardInTests` updates (#389)
calda
authored
62de65b
View commit details
Copy full SHA for 62de65b
Browse repository at this point
Commits on Jun 29, 2026
Add rule: prefer contains over range(of:) compared against nil (#385)
jparise
authored
f79d920
View commit details
Copy full SHA for f79d920
Browse repository at this point
Add rule: prefer first(where:) over filter(_:).first (#386)
jparise
authored
87968b3
View commit details
Copy full SHA for 87968b3
Browse repository at this point
Commits on Jun 26, 2026
Add rule: prefer `flatMap` over `map { ... }.reduce([], +)` (#384)
jparise
authored
aa7cb0f
View commit details
Copy full SHA for aa7cb0f
Browse repository at this point
Add rule: prefer isEmpty over comparing count against zero (#383)
jparise
authored
fc669f4
View commit details
Copy full SHA for fc669f4
Browse repository at this point
Commits on Jun 11, 2026
Add cifilter-builtins style guide rule (#376)
stephenfurlani-cell
authored
00df67a
View commit details
Copy full SHA for 00df67a
Browse repository at this point
Add rule to omit SwiftUI `Group` wrappers where redundant, and prefer `@ViewBuilder` over `Group` where equivalent (#381)
calda
authored
0aafdf2
View commit details
Copy full SHA for 0aafdf2
Browse repository at this point
Commits on Apr 30, 2026
Add rule to wrap switch case bodies (#379)
calda
authored
637bc34
View commit details
Copy full SHA for 637bc34
Browse repository at this point
Include a blank line at the bottom of a type body only if the type body starts a blank line (#380)
calda
authored
e6a467a
View commit details
Copy full SHA for e6a467a
Browse repository at this point
Commits on Apr 16, 2026
Add "Apple Frameworks" section (#378)
calda
authored
d3b4189
View commit details
Copy full SHA for d3b4189
Browse repository at this point
Update guiding tenets (#374)
calda
authored
aeb85c5
View commit details
Copy full SHA for aeb85c5
Browse repository at this point
Commits on Apr 9, 2026
Update SwiftFormat `--swift-version` to 6.3 (#377)
calda
authored
46db99a
View commit details
Copy full SHA for 46db99a
Browse repository at this point
Commits on Apr 2, 2026
Add rule to avoid redundant `EmptyView` branches (#372)
mannylopez
authored
c24f246
View commit details
Copy full SHA for c24f246
Browse repository at this point
Previous
Next
You can’t perform that action at this time.