rubocop
https://github.com/bbatsov/rubocop
Ruby
A Ruby static code analyzer, 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.
126 Subscribers
View all SubscribersAdd a CodeTriage badge to rubocop
Help out
- Issues
- Fix an incorrect autocorrect for `Style/SingleLineDoEndBlock`
- Fix an incorrect autocorrect for `Style/StringHashKeys`
- Tuning RuboCop's defaults from real-world usage data (RuboCop 2 discussion)
- Fix an incorrect autocorrect for `Style/IfWithSemicolon`
- Fix a false positive for `Style/LambdaCall` with a comment in the argument list
- Fix an incorrect autocorrect for `Style/PerlBackrefs` with `$+`
- Make `Style/ArrayIntersectWithSingleElement` detect `intersection([element]).any?`
- Add `rubocop-i18n` to suggested extensions
- Fix false negative for Lint/AmbiguousAssignment on send assignments
- [Fix #15356] Fix an infinite loop for `Lint/AssignmentInCondition`
- Docs
- RuboCop::Cop::Style::EvenOdd#receiver_source
- RuboCop::Cop::HashSubset#to_single_quoted
- RuboCop::Cop::Style::FormatString#requires_parentheses?
- RuboCop::Cop::Style::ExactRegexpMatch#escape_single_quotes
- RuboCop::Cop::Style::EmptyCaseCondition#parenthesize_condition
- RuboCop::Cop::Style::MultilineMemoization#contains_rescue_or_ensure?
- RuboCop::Cop::Lint::AssignmentInCondition#discarded_assignment?
- RuboCop::Cop::Style::EmptyClassDefinition#constant_name
- RuboCop::Cop::Style::EmptyStringInsideInterpolation#ternary_correction
- RuboCop::Cop::Style::EmptyStringInsideInterpolation#trailing_conditional_correction