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 an infinite loop for `Style/MethodCallWithArgsParentheses` with anonymous rest arguments forwarding
- Add an MCP tool that explains what cops do
- Report MCP inspection offenses in the JSON formatter's shape
- Fix a `Metrics/ClassLength` error on singleton classes in LSP mode
- Fix an infinite loop for `Layout/HeredocArgumentClosingParenthesis` with a heredoc inside a block argument
- Fix an error for `Style/FormatString` with `format` nested in `format`
- Make `Security/JSONLoad` accept `JSON.load` when the lockfile resolves `json` to >= 3.0
- Can Rubocop give context-dependent advice when mixing %w and quotes?
- [Fix #14045] Report obsolete plugin config against the plugin's file
- Fix default-config autocorrections that produce invalid Ruby
- 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