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
- Preserve escaped quotes when correcting `Style/RedundantPercentQ` with `Style/RedundantStringEscape`
- Avoid dropping heredocs and comments when correcting `Style/RedundantRegexpConstructor`
- Preserve heredoc keys when correcting `Style/SingleArgumentDig`
- Avoid dropping heredoc bodies when correcting `Style/DigChain`
- Preserve source between calls when correcting `Style/RedundantEach`
- [Fix #10058] Make EmptyLineBetweenDefs register an offense when a method call is sandwiched between definitions
- Preserve heredocs and comments when correcting `Lint/UselessNumericOperation`
- Preserve heredocs and comments when correcting `Lint/LambdaWithoutLiteralBlock`
- Preserve heredocs and comments when correcting `Style/RedundantSelfAssignment`
- Preserve neighboring statements in `Style/SwapValues` corrections
- Docs
- RuboCop::Cop::Style::SpaceAroundOperators#on_ivasgn
- RuboCop::Cop::Style::SpaceAroundOperators#on_casgn
- RuboCop::Cop::Style::SpaceAroundOperators#on_masgn
- RuboCop::Cop::Style::SpaceAroundOperators#on_lvasgn
- RuboCop::Cop::Style::SpaceAroundOperators#on_and
- RuboCop::Cop::Style::SpaceAroundOperators#on_or
- RuboCop::Cop::Style::SpaceAroundOperators#on_special_asgn
- RuboCop::Cop::Style::SpaceAroundOperators#on_binary
- RuboCop::Cop::Style::SpaceAroundOperators#on_send
- RuboCop::Cop::Style::SpaceAroundOperators#on_resbody