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.
49 Subscribers
View all SubscribersAdd a CodeTriage badge to rubocop
Help out
- Issues
- Fix an error for `Style/RedundantInterpolation` with a nested interpolation in an argument
- Fix an incorrect autocorrect for cops adding a hash literal argument with `Style/MethodCallWithArgsParentheses`
- Fix an error for `Layout/MultilineMethodCallBraceLayout` with a heredoc argument call used as an argument
- Fix an incorrect autocorrect for `Style/RedundantInterpolation` with a void value expression
- Fix an incorrect autocorrect for `Lint/AmbiguousOperatorPrecedence` with `Style/LineEndConcatenation`
- UseProjectIndex: a project's own `.rbs` signatures count as definitions (`Lint/DuplicateMethods`, `Lint/ConstantReassignment`, `Lint/NameTypo`)
- Fix false positives in `Style/StringConcatenation` when concatenating a heredoc
- [Fix #16252] Fix false positives with `UseProjectIndex` when RBS signatures are target files
- Fix false positives for `Lint/RedundantCopDisableDirective` with `--except`
- With `UseProjectIndex`, a fresh checkout misses the whole result cache
- Docs
- RuboCop::Config#missing_default_config_for?
- RuboCop::Cop::Style::For#offense_range
- RuboCop::Cop::Style::EmptyLiteral.autocorrect_incompatible_with
- RuboCop::Cop::Layout::EndAlignment#assignment_or_method_call
- RuboCop::Formatter::JUnitFormatter#mobilized_cop_badge?
- RuboCop::Formatter::JUnitFormatter#registry_for
- RuboCop::Cop::Lint::InterpolationCheck#yield_outside_method?
- RuboCop::Cop::Style::HashLookupMethod#array_or_hash_const?
- RuboCop::Cop::Lint::LiteralInInterpolation#numeric_open_range?
- RuboCop::Cop::Lint::SendWithMixinArgument#body?