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
- Support the experimental prism parser engine
- Enable pattern lazy compilation with rubocop-ast 1.51.0 or newer
- Fix an incorrect autocorrect for `Layout/LineLength` with an endless method with a heredoc
- Add per-file offense allowances
- Support deferred, batched investigations across files
- Fix an incorrect autocorrect for `Style/OperatorMethodCall` with a parenthesized argument
- Fix an error for `Layout/MultilineMethodCallBraceLayout` with code after the closing parenthesis of a call with a heredoc argument
- With `UseProjectIndex`, a fresh checkout misses the whole result cache
- [Fix #14702] Add AllowComments option to Layout/EmptyLineAfterGuardCl…
- Fix a false positive for `Lint/UselessMethodDefinition` when the method changes visibility
- Docs
- RuboCop::Cop::Style::NilLambda#body_range_on_shared_line
- RuboCop::Cop::Style::NilLambda#own_lines?
- RuboCop::Cop::Style::GuardClause#remove_end
- RuboCop::Cop::Style::GuardClause#code_after_end_needs_conditional?
- RuboCop::Cop::Style::RedundantSort.autocorrect_incompatible_with
- RuboCop::Cop::Layout::ClassStructure#blank_line_above?
- RuboCop::Cop::Layout::ClassStructure#directly_followed?
- RuboCop::Cop::Layout::ClassStructure#blank_between?
- RuboCop::Cop::Layout::ClassStructure#moved_runs
- RuboCop::Cop::Layout::ClassStructure#separators