rubocop
https://github.com/rubocop/rubocop
Ruby
A Ruby static code analyzer and formatter, 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.
13 Subscribers
Add a CodeTriage badge to rubocop
Help out
- Issues
- `Lint/RedundantCopDisableDirective` leaves an orphan `enable` directive when the cop is not enabled
- Fix `Lint/NameTypo` false positives for methods Ruby itself provides
- Lint/NameTypo reports false-positives for Time.now with ProjectIndexIncludesGems: true
- Index Ruby core and stdlib RBS signatures
- Add new `Style/Eql` cop
- Fix Style/InverseMethods class hierarchy guard for non-literal operands
- Style/InverseMethods: class-hierarchy guard misses comparisons whose operands are not literal constants
- Add autocorrection to `Lint/CopDirectiveSyntax`
- Frame unconditional guard over unreachable code
- Layout/LineLength needs nuance
- Docs
- RuboCop::Cop::Style::NilLambda#body_range_on_shared_line
- RuboCop::Cop::Style::NilLambda#own_lines?
- RuboCop::Cop::Style::GuardClause#remove_end
- RuboCop::Cop::Style::GuardClause#code_after_end_needs_conditional?
- RuboCop::Cop::Style::RedundantSort.autocorrect_incompatible_with
- RuboCop::Cop::Layout::ClassStructure#blank_line_above?
- RuboCop::Cop::Layout::ClassStructure#directly_followed?
- RuboCop::Cop::Layout::ClassStructure#blank_between?
- RuboCop::Cop::Layout::ClassStructure#moved_runs
- RuboCop::Cop::Layout::ClassStructure#separators