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.
123 Subscribers
View all SubscribersAdd a CodeTriage badge to rubocop
Help out
- Issues
- Fix an incorrect autocorrect for `Style/RedundantPercentQ` with an escaped double quote
- Fix an incorrect autocorrect for `Lint/UselessAssignment` with a conditional in a command argument
- Enable pattern lazy compilation with rubocop-ast 1.51.0 or newer
- Fix an incorrect autocorrect for `Lint/DeprecatedClassMethods` with a parenthesized `attr`
- Fix an incorrect autocorrect for `Layout/LineLength` with an endless method with a heredoc
- [Fix #12638] Fix result cache cleanup removing server state files
- Add per-file offense allowances
- Support deferred, batched investigations across files
- Fix an incorrect autocorrect for `Style/OperatorMethodCall` with a parenthesized argument
- With `UseProjectIndex`, a fresh checkout misses the whole result cache
- Docs
- RuboCop::Cop::Style::EmptyMethod#parenthesized_receiver?
- RuboCop::Cop::Style::EmptyMethod#scope
- RuboCop::Cop::RangeHelp#range_for_statement_removal
- RuboCop::Cop::Style::RedundantBegin#multiline_memoization?
- RuboCop::Cop::Lint::DuplicateRequire#statement_sequence?
- RuboCop::Cop::Style::StructInheritance#block_content_follows?
- RuboCop::Cop::Style::StructInheritance#replace_opening_brace_with_do
- RuboCop::Cop::Lint::RedundantRequireStatement#value_only_form?
- RuboCop::Cop::Lint::RedundantRequireStatement#statement?
- RuboCop::Cop::Style::SingleLineMethods#command_body_outside_statement?