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.
49 Subscribers
View all SubscribersAdd a CodeTriage badge to rubocop
Help out
- Issues
- [Fix #16252] Fix false positives with `UseProjectIndex` when RBS signatures are target files
- Fix false positives for `Lint/RedundantCopDisableDirective` with `--except`
- With `UseProjectIndex`, a fresh checkout misses the whole result cache
- [Fix #14702] Add AllowComments option to Layout/EmptyLineAfterGuardCl…
- Fix bug where specifying `--report-unused-todo-entries` disables parallelization
- Fix a false positive for `Lint/UselessMethodDefinition` when the method changes visibility
- 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
- Run Ruby < 3.2 on ubuntu-24.04 now that ubuntu-latest is 26.04
- Docs
- RuboCop::Cop::VariableForce#local_variable_name?
- RuboCop::Cop::PercentArray#element_begin
- RuboCop::Cop::PercentArray#build_interpolated_string_literal
- RuboCop::Cop::Layout::EndAlignment#on_csend
- RuboCop::Cop::Layout::ElseAlignment#on_csend
- RuboCop::Cop::Layout::DefEndAlignment#outermost_def_modifier
- RuboCop::Cop::Naming::HeredocDelimiterCase#delimiter
- RuboCop::Cop::Style::SendWithLiteralMethodName#valid_method_name?
- RuboCop::Cop::Layout::FirstHashElementIndentation#separator_aligned?
- RuboCop::Cop::Style::GuardClause#statement_branch?