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.
123 Subscribers
View all SubscribersAdd a CodeTriage badge to rubocop
Help out
- Issues
- Fix an incorrect autocorrect for `Style/EmptyMethod` with a heredoc
- Preserve arguments when `Style/EmptyLiteral` adds parentheses
- Fix an incorrect autocorrect for `Style/StructInheritance` and `Style/DataInheritance` with code after `end`
- Fix an incorrect autocorrect for `Style/RedundantInitialize` with a method definition used as a value
- Fix an incorrect autocorrect for `Style/RaiseArgs` with a trailing comma after a heredoc
- Preserve comments and heredocs when `Style/HashConversion` builds a hash literal
- Preserve code after `end` when `Style/SoleNestedConditional` merges conditions
- Preserve heredocs when `Style/EmptyElse` removes a redundant branch
- Preserve code after modifier conditions in `Style/RedundantBegin`
- Fix an incorrect autocorrect for `Lint/RequireRelativeSelfPath` with code on the same line
- Docs
- RuboCop::Cop::Style::AndOr#wrap_whole_call?
- RuboCop::Cop::Style::RedundantPercentQ#double_quotes_delimiter?
- RuboCop::Cop::Style::ConcatArrayLiterals#trailing_comma?
- RuboCop::Cop::Style::EmptyMethod#parenthesized_receiver?
- RuboCop::Cop::Style::EmptyMethod#scope
- RuboCop::Cop::RangeHelp#range_for_statement_removal
- RuboCop::Cop::Style::RedundantBegin#multiline_memoization?
- RuboCop::Cop::Lint::DuplicateRequire#statement_sequence?
- RuboCop::Cop::Style::StructInheritance#block_content_follows?
- RuboCop::Cop::Style::StructInheritance#replace_opening_brace_with_do