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
- Add tools for analyzing community RuboCop usage
- Fix an incorrect autocorrect for `Style/MultipleComparison`
- Fix an incorrect autocorrect for `Style/RedundantLineContinuation`
- Fix an incorrect autocorrect for `Style/RedundantFileExtensionInRequire`
- Fix incorrect autocorrects for `Style/InvertibleUnlessCondition`
- Tuning RuboCop's defaults from real-world usage data (RuboCop 2 discussion)
- 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
- Docs
- RuboCop::Cop::Style::RedundantSelf#on_resbody
- RuboCop::Cop::Style::RedundantFormat#typed_argument_value
- RuboCop::Cop::Style::RedundantFormat#static_string_value
- RuboCop::Cop::Style::RedundantFormat#string_with_format_sequence?
- RuboCop::Cop::Style::AccessorGrouping#trailing_argument_comment
- RuboCop::Cop::Style::SingleLineDoEndBlock#trailing_heredoc
- RuboCop::Cop::Style::RedundantStructKeywordInit#range_emptying_hash
- RuboCop::Cop::Style::RedundantStructKeywordInit#range_within_hash
- RuboCop::Cop::Style::EvenOdd#receiver_source
- RuboCop::Cop::HashSubset#to_single_quoted