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/MethodDefParentheses` with a line continuation
- Fix an error for `Style/RedundantCondition` with a nested modifier `if`
- Fix an incorrect autocorrect for `Style/HashLookupMethod` with argument forwarding
- Fix an incorrect autocorrect for `Style/ClassAndModuleChildren` with `Style/DataInheritance`
- Fix an infinite loop for `Layout/ExtraSpacing` with `Layout/LineLength`
- Add a server keepalive timeout
- Add rubocop-spellcheck to third-party plugins
- `Style/ItBlockParameter` autocorrect changes behavior when a local variable named `it` is in scope
- [Fix #16119] Fix false positives in `Style/ItBlockParameter` when a local variable named `it` is in scope
- [Fix #16120] Fix false positives in `Style/ItBlockParameter` when the…
- Docs
- RuboCop::Cop::Lint::RedundantDirGlobSort#autocorrect
- RuboCop::Cop::Style::MethodDefParentheses#destructuring_first_argument?
- RuboCop::Cop::Style::MethodDefParentheses#code_after_arguments?
- RuboCop::Cop::Style::NestedTernaryOperator#contains_heredoc?
- RuboCop::Cop::Naming::HeredocDelimiterCase#corrected_delimiter_in_body?
- RuboCop::Cop::Layout::SingleLineBlockChain#heredoc_opened_before?
- RuboCop::Cop::Style::ClassAndModuleChildren.autocorrect_incompatible_with
- RuboCop::Cop::MultilineElementLineBreaks#heredoc_opened_before?
- RuboCop::Cop::Style::IdenticalConditionalBranches#range_with_separator
- RuboCop::Cop::Style::IdenticalConditionalBranches#removal_range