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.
50 Subscribers
View all SubscribersAdd a CodeTriage badge to rubocop
Help out
- Issues
- Fix false positive in `Lint/RedundantSafeNavigation` for `respond_to?`
- Layout/MultilineAssignmentLayout causes a false negative when using block on different line from left side of multi-line assignment
- [Fix #14816] Add note about cache root of remote configuration files
- Fix `Lint/InterpolationCheck` autocorrect causing a SyntaxError
- [Fix #14834] Fix `Layout/IndentationWidth` false positive for chained method blocks when `EnforcedStyleAlignWith` is `start_of_line`
- Improve `Style/EmptyClassDefinition` message wording
- [Fix #14880] Recognize block on different line from left side of multi-line assignment in `Layout/MultilineAssignmentLayout`
- `Lint/UselessAssignment` fails when autocorrecting the code in 1.84.2
- [Fix #14773] Extend `Lint/StructNewOverride` to also check `Data.define`
- [Fix #14756] Detect void expressions in `case`/`when` branches
- Docs
- RuboCop::Cop::Style::ArgumentsForwarding#send_inside_block?
- RuboCop::Cop::Style::OperatorMethodCall#insert_space_after?
- RuboCop::Cop::Style::ReturnNilInPredicateMethodDefinition#handle_if
- RuboCop::Cop::Style::ReturnNilInPredicateMethodDefinition#handle_nil
- RuboCop::Cop::Style::ReturnNilInPredicateMethodDefinition#handle_return
- RuboCop::Cop::Style::ReturnNilInPredicateMethodDefinition#handle_implicit_return_values
- RuboCop::Cop::Style::ReturnNilInPredicateMethodDefinition#node_type?
- RuboCop::Cop::Style::ReturnNilInPredicateMethodDefinition#last_node_of_type
- RuboCop::FileFinder#traverse_directories_upwards
- RuboCop::Cop::Style::RedundantBegin.autocorrect_incompatible_with