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
- Server restart fails with `running? was not true after 20 seconds!` because the old server still removes its cache dir
- [Fix #16185] Wait for the server process to exit in `--stop-server`
- Fix false positives and an error for `Lint/UselessAssignment` with named captures
- Fix an incorrect autocorrect for `Lint/InterpolationCheck` with `yield` outside a method
- Fix false positives for `Style/PerlBackrefs` in `alias`
- Fix false positives for `Style/SpecialGlobalVars` in `alias`
- Fix false positives for `Lint/NumberConversion` with `define_method(:to_i)`
- Fix an incorrect autocorrect for `Style/MethodCallWithArgsParentheses` with `Style/ParenthesesAroundCondition`
- [Fix #8191] Add `AllowedReceivers` option to `Style/MethodCallWithArgsParentheses`
- Fix incorrect autocorrects for `Style/WordArray` and `Style/SymbolArray` with interpolations
- Docs
- RuboCop::Cop::Style::PredicateWithKind#kind_check?
- RuboCop::Cop::Style::RedundantMinMaxBy#message_itblock
- RuboCop::Cop::Style::RedundantMinMaxBy#message_numblock
- RuboCop::Cop::Style::RedundantMinMaxBy#message_block
- RuboCop::Cop::Style::RedundantMinMaxBy#offense_range
- RuboCop::Cop::Style::RedundantMinMaxBy#register_offense
- RuboCop::Cop::Style::RedundantMinMaxBy#redundant_minmax_by_itblock
- RuboCop::Cop::Style::RedundantMinMaxBy#redundant_minmax_by_numblock
- RuboCop::Cop::Style::RedundantMinMaxBy#redundant_minmax_by_block
- RuboCop::Cop::Style::RedundantMinMaxBy#on_itblock