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 an error for `Layout/EmptyLinesAroundExceptionHandlingKeywords` with an endless method
- Fix an infinite loop for `Layout/HeredocArgumentClosingParenthesis` with code after the HEREDOC in the outer call
- Add per-file offense allowances
- Support deferred, batched investigations across files
- Fix an incorrect autocorrect for `Style/Semicolon` after an omitted hash value
- Fix an incorrect autocorrect for `Style/OperatorMethodCall` with a parenthesized argument
- Fix an error for `Layout/MultilineMethodCallBraceLayout` with a heredoc argument call used as an argument
- UseProjectIndex: a project's own `.rbs` signatures count as definitions (`Lint/DuplicateMethods`, `Lint/ConstantReassignment`, `Lint/NameTypo`)
- Fix false positives in `Style/StringConcatenation` when concatenating a heredoc
- [Fix #16252] Fix false positives with `UseProjectIndex` when RBS signatures are target files
- Docs
- RuboCop::Cop::Style::RedundantBegin#statement_position?
- RuboCop::Cop::Style::RedundantBegin#command_call?
- RuboCop::Cop::Style::RedundantBegin#parentheses_required?
- RuboCop::Cop::Naming::BlockForwarding#index_call?
- RuboCop::Cop::Naming::BlockForwarding#require_parentheses?
- RuboCop::Cop::Lint::NonAtomicFileOperation.autocorrect_incompatible_with
- RuboCop::Cop::Lint::AmbiguousBlockAssociation.autocorrect_incompatible_with
- RuboCop::Cop::Style::AmbiguousEndlessMethodDefinition#heredoc_in_body?
- RuboCop::Cop::Layout::EmptyLinesAroundExceptionHandlingKeywords#on_itblock
- RuboCop::Cop::Style::DataInheritance.autocorrect_incompatible_with