rubocop
https://github.com/rubocop-hq/rubocop
Ruby
A Ruby static code analyzer and formatter, 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.
48 Subscribers
View all SubscribersAdd a CodeTriage badge to rubocop
Help out
- Issues
- 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 #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
- 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
- Docs