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 infinite loop for `Layout/SpaceAroundOperators` with `Layout/LineContinuationSpacing`
- Style/RedundantSelf: False positive for splat assignment
- Fix an incorrect autocorrect for `Style/AndOr` with a command call that takes a `do` block
- Fix an incorrect autocorrect for `Style/ReduceToHash` with a heredoc
- Fix an incorrect autocorrect for `Style/QuotedSymbols` with a trailing backslash
- Fix an infinite loop for `Layout/EmptyLinesAroundClassBody` with `Lay…
- Fix an incorrect autocorrect for `Layout/LineLength` with code after a heredoc opener
- Allow git worktrees of the same project to share the result cache
- Fix an incorrect autocorrect for `Style/RaiseArgs` with a parenthesized `raise`
- Treat `@` as a literal character in regexp-based cops
- Docs
- RuboCop::Cop::Style::RaiseArgs#parenthesize?
- RuboCop::Cop::Layout::LineLength#heredoc_openers
- RuboCop::Cop::Layout::LineLength#after_heredoc_opener?
- RuboCop::Cop::Layout::ExtraSpacing#exceeds_max_line_length?
- RuboCop::Cop::Layout::ExtraSpacing#equal_sign_alignment
- RuboCop::Cop::Style::ReduceToHash#accumulator_range
- RuboCop::Cop::Style::ReduceToHash#correct_body
- RuboCop::Cop::Style::ReduceToHash#method_call_range
- RuboCop::Cop::Style::ReduceToHash#heredoc_in_inject_numblock?
- RuboCop::Cop::Lint::RedundantCopDisableDirective#repeated_disable?