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 supported45 Subscribers
View all SubscribersAdd a CodeTriage badge to swiftlint
Help out
- Issues
- Rule Request: Don't add ACL modifiers when they're already the default
- Rule Request: Avoid multiple statements on a single line separated with semicolons
- Add a static check option for identifier_name
- `optional_string_data_conversion`'s `Data` -> `String` rule should be optional
- Create custom rule for .multilineTextAlignment for Text
- SwiftUI: Prefer scaledToFit()/scaledToFill() over aspectRatio(contentMode:)
- "no_empty_block" causes default functions in protocols to be detected
- `unused-parameter` rule should not trigger on parameters used for their type
- `unused-parameter` rule should not trigger on binding closure parameter
- Substitution support in custom rules
- Docs
- Swift not yet supported