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
- Add new `Lint/MisplacedMagicComment` cop
- Consolidate cop directive checking and enable it by default
- Fix Layout/ExtraSpacing loop with Layout/SpaceAroundOperators
- Fix Style/ParenthesesAroundCondition loop with Lint/AssignmentInCondition
- Fix Layout/LineLength SplitStrings loop on trailing-space split point
- Index Ruby core and stdlib RBS signatures
- Fix Layout/ArgumentAlignment loop with Layout/HashAlignment separator style
- Fix an error for `Layout/HashAlignment` cop
- Fix Style/EndlessMethod loop with Style/AmbiguousEndlessMethodDefinition
- Fix `Lint/ArgumentMismatch` false positives for private methods
- Docs
- RuboCop::Cop::Layout::IndentHeredoc#ruby23_type_message
- RuboCop::Cop::Style::Documentation#compact_namespace?
- RuboCop::Cop::Style::FormatStringToken#placeholder_argument?
- RuboCop::Cop::Rails::ActiveRecordAliases#autocorrect
- RuboCop::Cop::Rails::ActiveRecordAliases#on_send
- RuboCop::Cop::Lint::SafeNavigationChain#method_chain
- RuboCop::Cop::Style::EachWithObject#whole_line_expression
- RuboCop::Cop::Style::EachWithObject#return_value_occupies_whole_line?
- RuboCop::Cop::Style::SafeNavigation#chain_size
- RuboCop::Cop::Style::EmptyLineAfterGuardClause#next_sibling_empty_or_guard_clause?