swiftlint
https://github.com/realm/swiftlint
Swift
A tool to enforce Swift style and conventions.
Triage Issues!
When you volunteer to triage issues, you'll receive an email each day with a link to an open issue that needs help in this project. You'll also receive instructions on how to triage issues.
Triage Docs!
Receive a documented method or class from your favorite GitHub repos in your inbox every day. If you're really pro, receive undocumented methods or classes and supercharge your commit history.
Swift not yet supported44 Subscribers
View all SubscribersAdd a CodeTriage badge to swiftlint
Help out
- Issues
- Don't flag color components of `Color` and `NSColor` initializers
- `@ObservedObject` shound't be initialized inside the `SwiftUI.View`
- Add CLI option to disable rules
- `prefer_self_in_static_references` doesn't report violations in extensions
- Reduce lint hot-path overhead
- Revive excludedPaths by stopping double resolution
- `unused_parameter` spurious violation for parameters used in calls to raw identifier functions whose name is a keyword, when prefixed with Swift 6.3 module selector
- Re-add @-prefixed response files
- line_length: ignores_urls strips property accesses like `post.id` (NSDataDetector matches bare domains with valid TLDs)
- Legacy_objc_type rule triggered but there's no suitable swift value types
- Docs
- Swift not yet supported