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 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`
- Fix an infinite loop for `Layout/FirstHashElementIndentation` with pairs on the same line and separator style
- Fix false positives in `Style/HashLookupMethod` when using the `Array` or `Hash` constructor
- Fix an infinite loop for `Layout/EndAlignment` with a safe navigation setter
- Fix an infinite loop for `Layout/DefEndAlignment` with nested def modifiers
- 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
- 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::Naming::HeredocDelimiterCase#delimiter
- RuboCop::Cop::Style::SendWithLiteralMethodName#valid_method_name?
- RuboCop::Cop::Layout::FirstHashElementIndentation#separator_aligned?
- RuboCop::Cop::Style::GuardClause#statement_branch?