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 a false positive for `Lint/UselessMethodDefinition` when the method changes visibility
- Fix an error for `Style/SendWithLiteralMethodName` with a string in an invalid encoding
- Fix an incorrect autocorrect for `Style/RedundantFilterChain` with `Layout/SingleLineBlockChain`
- Fix an incorrect autocorrect for `Style/ExplicitBlockArgument` with a method call without parentheses as the last argument
- Fix an incorrect autocorrect for `Lint/SendWithMixinArgument` when the call is not a statement
- Fix an error for `Style/StringConcatenation` with a parenthesized heredoc
- Fix an infinite loop for `Layout/EmptyLineAfterGuardClause` with a multiline guard clause
- Fix an infinite loop for `Style/EmptyStringInsideInterpolation` with a multiline branch
- Fix an incorrect autocorrect for `Style/MapIntoArray` with `Style/TrailingCommaInArguments`
- Run Ruby < 3.2 on ubuntu-24.04 now that ubuntu-latest is 26.04
- Docs
- RuboCop::Cop::Style::HashTransformValues#on_bad_hash_brackets_map
- RuboCop::Cop::Style::HashTransformValues#on_bad_each_with_object
- RuboCop::Cop::Style::ExpandPathArguments#pathname_new_parent_expand_path
- RuboCop::Cop::Style::ExpandPathArguments#pathname_parent_expand_path
- RuboCop::Cop::Style::ExpandPathArguments#file_expand_path
- RuboCop::Cop::Style::RedundantParentheses#interpolation?
- RuboCop::Cop::Style::RedundantParentheses#arg_in_call_with_block?
- RuboCop::Cop::Style::RedundantParentheses#rescue?
- RuboCop::Cop::Style::RedundantParentheses#method_node_and_args
- RuboCop::Cop::Style::RedundantParentheses#range_end?