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
- Adopt Swift Testing
- Script input files are much slower then explicit passing the paths
- Add new opt-in `non_final_class` rule
- `async_without_await` triggers on methods which are marked with `@MainActor`
- Create an official repository for SwiftLintPlugins
- Add SwiftLint rule to prevent multiple variable declarations on one line
- `one_declaration_per_file`: ignore declarations less visible than a specified access level
- `number_separator`: allow ignoring certain types of numbers
- opening_braces allows some multiline if statements, others get flagged
- False positive for `prefer_self_in_static_references` when an inner struct has the same name as its owner
- Docs
- Swift not yet supported