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.
124 Subscribers
View all SubscribersAdd a CodeTriage badge to rubocop
Help out
- Issues
- Fix MCP requests failing outright when a cop crashes
- Extract `GemVersionSpecification` mixin
- Fix an infinite loop for `Layout/LineEndStringConcatenationIndentation` with a long run of misaligned parts
- Fix an incorrect autocorrect for `Style/MethodDefParentheses` cop
- Fix an infinite loop for `Style/MutableConstant` with a chained constant assignment
- Fix an infinite loop between `Style/HashLookupMethod` and `Style/FetchEnvVar`
- Fix an incorrect autocorrect for `Style/ReturnNil` with an operand `return`
- Fix an incorrect autocorrect for `Style/Lambda` with `rescue` in an unparenthesized argument
- [Fix #14666] Make `Lint/UselessAssignment` register an offense for a block-captured variable that is never referenced
- Fix an incorrect autocorrect for `Style/ArgumentsForwarding` with a block literal
- Docs
- RuboCop::Cop::CheckLineBreakable#heredoc_begin_position
- RuboCop::Cop::Style::Sample#zero_or_beginless?
- RuboCop::Cop::Layout::LineLength.autocorrect_incompatible_with
- RuboCop::Cop::Style::CaseLikeIf.autocorrect_incompatible_with
- RuboCop::Cop::Style::GuardClause#endless_method_body?
- RuboCop::Cop::Style::NestedModifier#low_precedence?
- RuboCop::Cop::Style::RedundantBegin#too_long_when_joined?
- RuboCop::Cop::Style::NestedModifier#operand_source
- RuboCop::Cop::Style::SelfAssignment#unparenthesized
- RuboCop::Cop::Style::BlockDelimiters#on_yield