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.
123 Subscribers
View all SubscribersAdd a CodeTriage badge to rubocop
Help out
- Issues
- Fix an error for `Layout/FirstArgumentIndentation` with an inner call without parentheses
- Fix an error for `Lint/UselessAssignment` with an operator assignment in a top level block call
- 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 `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 #14702] Add AllowComments option to Layout/EmptyLineAfterGuardCl…
- Docs
- RuboCop::Cop::VariableForce#local_variable_name?
- RuboCop::Cop::PercentArray#element_begin
- RuboCop::Cop::PercentArray#build_interpolated_string_literal
- RuboCop::Cop::Layout::EndAlignment#on_csend
- RuboCop::Cop::Layout::ElseAlignment#on_csend
- RuboCop::Cop::Layout::DefEndAlignment#outermost_def_modifier
- RuboCop::Cop::Style::HashLookupMethod#array_or_hash_const?
- RuboCop::Cop::Naming::HeredocDelimiterCase#delimiter
- RuboCop::Cop::SpaceBeforePunctuation#space_required_after_lparen?
- RuboCop::Cop::Layout::AccessModifierIndentation#indentation_base_range