A tool to enforce Swift style and conventions, based on SwiftSyntax.
- 0.65.1
- Published at
- Aug 21, 2026
- 19,748
- Stars
- 5,354,226
- Download
- Synced at
- Oct 4, 2026
Latest release
0.65.1Aug 21, 2026, 08:29 PMDownloads slow? Switch the source anytime above
README
Project Overview
SwiftLint is a tool to enforce Swift style and conventions, primarily based on SwiftSyntax.
Key Features
- Enforces Swift style and conventions
- Based on SwiftSyntax
- Swift Package Manager plugin support
- Homebrew installation support
- CocoaPods integration support
Target Audience
- Swift developers
- iOS/macOS app development teams
- Projects wanting consistent code style
Quick Start
- Homebrew:
brew install swiftlint - CocoaPods: Add
pod 'SwiftLint'to your Podfile - Swift Package Manager: Add SwiftLintPlugins
- Configure as a Script Build Phase in Xcode
Core Advantages
- Based on SwiftSyntax for accuracy and reliability
- Community-recognized style rules
- Multiple installation methods
- Open-source and free
System Requirements
- OS: macOS, Linux
- Architectures: x86_64, arm64
- Additional Dependencies: Swift
Notes
- It's highly recommended to use the SwiftLintPlugins repository
- Follow the Contributor Covenant Code of Conduct
Release history
Sort