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 incorrect autocorrect for `Lint/RedundantCopEnableDirective` with text after the directive
- Fix an incorrect autocorrect for `Lint/TripleQuotes` with `Lint/ImplicitStringConcatenation`
- Fix an infinite loop for `Layout/IndentationStyle` with a command heredoc
- Fix an infinite loop for `Layout/EmptyLinesAroundAccessModifier` with a trailing blank line
- Fix an infinite loop for `Layout/HeredocArgumentClosingParenthesis` with code after a nested heredoc call
- Fix an incorrect autocorrect for `Lint/UselessAssignment` with a conditional in a command argument
- Fix an incorrect autocorrect for `Style/PartitionInsteadOfDoubleSelect` with code after the second call
- Fix bug where specifying `--display-cop-names` disables parallelization
- Enable pattern lazy compilation with rubocop-ast 1.51.0 or newer
- Fix an incorrect autocorrect for `Layout/SingleLineBlockChain` with `Style/CollectionQuerying` and hash transform cops
- 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