rubocop
https://github.com/rubocop-hq/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.
50 Subscribers
View all SubscribersAdd a CodeTriage badge to rubocop
Help out
- Issues
- Style/StringLiterals is missing quoted quotes
- Inconsistent cop names `Lint/DisjunctiveAssignmentInConstructor` and `Lint/OrAssignmentToConstant`
- `Lint/AmbiguousOperatorPrecedence` configuration
- [Fix #9325] Make Exclude config parameters merge by default
- RuboCop does not merge Exclude by default and therefore scans vendor/bundle
- New cop that suggests replacing complex `unless` with `if`
- Default for `Style/FormatStringToken`
- Enabling NewCops in rubocop.yml does not appear to add files to exclusion with --auto-gen-only-exclude
- Prefer `require_relative`
- Rubocop removes rubocop:disable comments when auto-formatting with ALE
- Docs
- RuboCop::Cop::Lint::Void#check_case_match_expression
- RuboCop::Cop::Lint::Void#check_case_expression
- RuboCop::Cop::Lint::Void#check_if_expression
- RuboCop::Cop::Lint::Void#check_void_expression_nodes
- RuboCop::Cop::Style::EndlessMethod#receiver
- RuboCop::Cop::Style::EndlessMethod#on_defs
- RuboCop::Cop::Style::SelectByRange#find_range
- RuboCop::Cop::Style::SelectByRange#unwrap_negation
- RuboCop::Cop::Style::SelectByRange#negated?
- RuboCop::Cop::Style::SelectByRange#calls_lvar_in_range_check?