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
- Replace only block argument references in `Lint/UselessTimes`
- Fix an incorrect autocorrect for `Style/RedundantBegin` with code after a modifier condition
- Fix an incorrect autocorrect for `Lint/UselessTimes` with an inconsistently indented body
- Fix an incorrect autocorrect for `Lint/RedundantStringCoercion` with a heredoc in the receiver
- Avoid `Style/EachWithObject` when `next` changes the accumulator
- Preserve non-local `break` in `Style/NilLambda`
- Fix an incorrect autocorrect for `Style/RedundantArrayConstructor` with `Style/TrailingCommaInArguments`
- Fix an incorrect autocorrect for `Style/RedundantArrayConstructor` with a comment or heredoc outside the array literal
- Fix an incorrect autocorrect for `Style/RedundantException` with a heredoc or comment in the removed source
- Fix an incorrect autocorrect for `Style/FileRead` when removing a heredoc body or comment
- Docs
- RuboCop::Cop::MultilineLiteralBraceCorrector.last_element_range_with_trailing_comma
- RuboCop::Cop::MultilineLiteralBraceCorrector.correct
- RuboCop::Cop::MultilineLiteralBraceCorrector.processed_source
- RuboCop::Cop::Layout::MultilineMethodCallBraceLayout#autocorrect
- RuboCop::Cop::Layout::MultilineMethodCallIndentation#autocorrect
- RuboCop::Cop::Layout::FirstMethodParameterLineBreak#autocorrect
- RuboCop::Cop::Layout::FirstMethodArgumentLineBreak#autocorrect
- RuboCop::Cop::Style::StringLiteralsInInterpolation#autocorrect
- RuboCop::Cop::Layout::MultilineOperationIndentation#autocorrect
- RuboCop::Cop::Layout::ClosingParenthesisIndentation#autocorrect