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
- Fix an incorrect autocorrect for `Style/SingleLineDoEndBlock`
- Fix an incorrect autocorrect for `Style/StringHashKeys`
- Fix a crash for `Style/TrailingUnderscoreVariable`
- Fix an incorrect autocorrect for `Style/TernaryParentheses`
- Add new `Style/RedundantTap` cop
- 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?`
- Docs
- RuboCop::Cop::Style::EvenOdd#receiver_source
- RuboCop::Cop::HashSubset#to_single_quoted
- RuboCop::Cop::Style::FormatString#requires_parentheses?
- RuboCop::Cop::Style::MultilineMemoization#contains_rescue_or_ensure?
- RuboCop::Cop::Lint::AssignmentInCondition#discarded_assignment?
- RuboCop::Cop::Style::ExactRegexpMatch#escape_single_quotes
- RuboCop::Cop::Style::EmptyCaseCondition#parenthesize_condition
- RuboCop::Cop::Style::EmptyClassDefinition#constant_name
- RuboCop::Cop::Style::EmptyStringInsideInterpolation#ternary_correction
- RuboCop::Cop::Style::EmptyStringInsideInterpolation#trailing_conditional_correction