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 error for `Style/RescueModifier` with a rescue modifier in the rescue body of another one
- Fix an incorrect autocorrect for `Style/AndOr` with a safe navigation command call
- Fix an incorrect autocorrect for `Style/EndlessMethod` with `Style/RaiseArgs`
- Fix an infinite loop for `Layout/EmptyLinesAroundBlockBody` with block arguments on the next line
- Fix an infinite loop for `Style/IfUnlessModifier` with multiple modifiers in a logical operator
- Fix an incorrect autocorrect for `Layout/MultilineHashBraceLayout` with a nested literal
- Fix an incorrect autocorrect for `Style/StructInheritance` with `Style/MethodCallWithArgsParentheses`
- Fix an error for `Layout/HashAlignment` with a key spanning multiple lines
- Fix an infinite loop for `Style/Lambda` with `Layout/SpaceInLambdaLiteral`
- [Fix #15855] Make `Lint/PercentStringArray` suggest an array literal for quoted strings split at whitespace
- Docs
- RuboCop::Cop::Style::ArrayJoin#join_candidate?
- RuboCop::Cop::Style::ReturnNil#define_method?
- RuboCop::Cop::Style::ReturnNil#chained_send?
- RuboCop::Cop::Style::ReturnNil#return_node?
- RuboCop::Cop::Style::HashExcept#bad_method?
- RuboCop::Cop::Style::StderrPuts#stderr_puts?
- RuboCop::Cop::Style::OptionHash#option_hash
- RuboCop::Cop::Style::MixinUsage#in_top_level_scope?
- RuboCop::Cop::Style::MixinUsage#include_statement
- RuboCop::Cop::Style::SymbolProc#symbol_proc?