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.
124 Subscribers
View all SubscribersAdd a CodeTriage badge to rubocop
Help out
- Issues
- Fix an incorrect autocorrect for `Style/KeywordParametersOrder` with trailing whitespace
- Fix an incorrect autocorrect for `Lint/EmptyConditionalBody` with an empty `elsif` and `else`
- Fix an incorrect autocorrect for `Style/MethodDefParentheses` with a single-line method body
- Fix an incorrect autocorrect for `Style/SingleLineMethods` with unparenthesized parameters
- Fix an incorrect autocorrect for `Layout/MultilineHashBraceLayout` with `Style/RedundantDoubleSplatHashBraces`
- Extract overrides_inherited_method? for reuse
- Reduce allocations in Naming cop hot paths
- Simplify internal affairs helpers
- Remove redundant code from Metrics, Gemspec and Bundler cops
- Fix an incorrect autocorrect for `Style/CombinableLoops` when followed by another block
- Docs
- RuboCop::Cop::CheckLineBreakable#heredoc_begin_position
- RuboCop::Cop::Style::Sample#zero_or_beginless?
- RuboCop::Cop::Layout::LineLength.autocorrect_incompatible_with
- RuboCop::Cop::Style::CaseLikeIf.autocorrect_incompatible_with
- RuboCop::Cop::Style::GuardClause#endless_method_body?
- RuboCop::Cop::Style::NestedModifier#low_precedence?
- RuboCop::Cop::Style::RedundantBegin#too_long_when_joined?
- RuboCop::Cop::Style::NestedModifier#operand_source
- RuboCop::Cop::Style::SelfAssignment#unparenthesized
- RuboCop::Cop::Style::BlockDelimiters#on_yield