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 incorrect autocorrect for `Lint/SafeNavigationChain` with an operator call as an argument
- Fix an incorrect autocorrect for `Lint/NumberConversion` with `Style/MethodCallWithArgsParentheses` and `Style/NestedParenthesizedCalls`
- Fix an incorrect autocorrect for `Style/OperatorMethodCall` with a parenthesized argument
- Fix an incorrect autocorrect for `Style/RedundantSort` with trailing comma cops
- Fix an incorrect autocorrect for `Style/GuardClause` with code after `end` and a heredoc
- Fix an incorrect autocorrect for `Lint/RedundantCopDisableDirective` with a cop repeated in the directive
- Fix an incorrect autocorrect for `Layout/HeredocArgumentClosingParenthesis` with code after the closing parenthesis
- Fix an incorrect autocorrect for `Style/MultilineTernaryOperator` with a heredoc
- Fix an incorrect autocorrect for `Lint/UselessAssignment` with the first argument of a method call without parentheses
- Fix an incorrect autocorrect for trailing comma cops with `Lint/AmbiguousOperatorPrecedence`
- Docs
- RuboCop::Cop::Style::SelfAssignment#check_send_node
- RuboCop::Cop::Style::SelfAssignment#check
- RuboCop::Cop::Style::SelfAssignment#on_cvasgn
- RuboCop::Cop::Style::SelfAssignment#on_ivasgn
- RuboCop::Cop::Style::SelfAssignment#on_lvasgn
- RuboCop::Cop::Style::RescueModifier#modifier?
- RuboCop::Cop::Style::RescueModifier#autocorrect
- RuboCop::Cop::Style::RescueModifier#on_resbody
- RuboCop::Cop::Style::RescueModifier#investigate
- RuboCop::Cop::Style::DoubleNegation#on_send