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 supported47 Subscribers
View all SubscribersAdd a CodeTriage badge to swiftlint
Help out
- Issues
- Custom rule is slow
- No exclude rules are applied for --use-stdin files
- Add `explicit_return` opt-in rule
- `unused_setter_value` incorrectly gets triggered for an empty setter
- Rule Request: `explicit_return`
- `redundant_discardable_let` rule causes a compilation error for things that are wrapped in a result-builder annotation
- Rule Request: extend `pattern_matching_keywords` to support non-switch usages, prefer/prohibit outer `let`/`var`
- Extended matching for `inclusive_language` rule and possible `disallowed_terminology` rule
- Rule request: Enforce only tabs OR spaces
- Fetch fails when `.swiftlint.yml` in the GitHub private repository is specified in `parent_config`.
- Docs
- Swift not yet supported