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.
126 Subscribers
View all SubscribersAdd a CodeTriage badge to rubocop
Help out
- Issues
- Lint/UselessAssignment vs postfix if
- Style/TrailingCommaInHashLiteral and Layout/MultilineHashBraceLayout safe autocorrects produce invalid file
- false negative Lint/DuplicateMethods in blocks
- Rubocop inspects files using cops that it shouldn't use
- Layout/HashAlignment: allow grouping (i.e. separation by blank lines)
- Rename `Lint/AmbiguousOperatorPrecedence` to `Style/ExplicitOperatorPrecedence`
- Caching prevents warnings from configuration within source code
- [#8827] Change Style/FormatStringToken style to template
- JSON Schema for Rubocop Config
- `Style/MethodCallWithArgsParentheses` within the block of a macro
- Docs
- RuboCop::Cop::Style::ReduceToHash#references_variable?
- RuboCop::Cop::Style::ReduceToHash#accumulator_name
- RuboCop::Cop::Style::ReduceToHash#accumulator_used_in_expressions?
- RuboCop::ResultCache.relevant_options_digest
- RuboCop::Cop::Style::FileOpen#receiver_of_chained_call?
- RuboCop::Cop::Style::FileOpen#offensive_usage?
- RuboCop::Cop::Style::RedundantInterpolationUnfreeze#offense_range
- RuboCop::Cop::Style::RedundantInterpolationUnfreeze#on_dstr
- RuboCop::Cop::Style::RedundantInterpolationUnfreeze#redundant_unfreeze?
- RuboCop::Cop::Style::FileOpen#block_form?