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
- Fix invalid-Ruby autocorrects in multiline Style cops
- Fix invalid-Ruby autocorrects in Style/Redundant* cops
- Fix two incorrect autocorrects in Style/RedundantFormat
- Fix invalid-Ruby autocorrects in Style/ParallelAssignment for %w/%i elements
- Fix false positives for `Style/ItAssignment` before Ruby 3.4
- --fail-fast silently passes when offenses are found
- Fix comment duplication for `Style/AccessorGrouping` with a single-line trailing comment
- `Style/ClassAndModuleChildren`: `EnforcedStyleForClasses` / `EnforcedStyleForModules` are silently ignored
- Fix `Style/DocumentationMethod` ignoring `AllowedMethods` for inline modifier defs
- Fix a false positive for `Style/EmptyLiteral` with numbered and `it` block parameters
- Docs
- RuboCop::Cop::Style::EvenOdd#receiver_source
- RuboCop::Cop::HashSubset#to_single_quoted
- RuboCop::Cop::Style::FormatString#requires_parentheses?
- RuboCop::Cop::Style::MultilineMemoization#contains_rescue_or_ensure?
- RuboCop::Cop::Lint::AssignmentInCondition#discarded_assignment?
- RuboCop::Cop::Style::ExactRegexpMatch#escape_single_quotes
- RuboCop::Cop::Style::EmptyCaseCondition#parenthesize_condition
- RuboCop::Cop::Style::EmptyClassDefinition#constant_name
- RuboCop::Cop::Style::EmptyStringInsideInterpolation#ternary_correction
- RuboCop::Cop::Style::EmptyStringInsideInterpolation#trailing_conditional_correction