rubocop
https://github.com/rubocop-hq/rubocop
Ruby
A Ruby static code analyzer and formatter, based on the community Ruby style guide.
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.
50 Subscribers
View all SubscribersAdd a CodeTriage badge to rubocop
Help out
- Issues
- Complete ERB/Haml autocorrection in a single run
- Fix false negatives in `Style/RedundantParentheses`
- Make `Lint/RedundantSafeNavigation` aware of safe navigation in ternary true branch
- [Fix #14985] Fix incorrect autocorrection in `Lint/SafeNavigationChain`
- Unsafe autocorrection for Lint/SafeNavigationChain
- A proposal to implement cop lazy loading
- Don't add parentheses around `return` without arguments in `Style/AndOr`
- Add `AllowedParentClasses` option to `Style/EmptyClassDefinition`
- Add option to allow Lint/UselessAssignment and Style/MultilineIfModifier to ignore when used with keyword args
- `Style/HashLookupMethod` wrongly replaces `Rails.cache.fetch('key')` with `Rails.cache['key]`
- Docs
- RuboCop::Cop::Style::SelectByKind#unwrap_negation
- RuboCop::Cop::Style::SelectByKind#negated?
- RuboCop::Cop::Style::SelectByKind#extract_send_node
- RuboCop::Cop::Style::SelectByKind#register_offense
- RuboCop::Cop::Style::SelectByKind#replacement
- RuboCop::Cop::Style::SelectByKind#receiver_allowed?
- RuboCop::Cop::Style::SelectByKind#on_csend
- RuboCop::Cop::Style::SelectByKind#on_send
- RuboCop::Cop::Style::SelectByKind#negated_calls_lvar?
- RuboCop::Cop::Style::SelectByKind#calls_lvar?