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 infinite loop for `Layout/HeredocArgumentClosingParenthesis` with a HEREDOC in another HEREDOC
- Fix an incorrect autocorrect for `Layout/LineLength` with an endless method with a heredoc
- Fix an infinite loop for `Layout/IndentationStyle` with a heredoc nested in another heredoc
- Fix an error for `Style/For` with a `for` in the collection of another `for`
- Fix false negatives in `Layout/EmptyLinesAroundExceptionHandlingKeywords` with an `it` block
- Fix an incorrect autocorrect for `Naming/BlockForwarding` with an index call
- Fix an incorrect autocorrect for `Style/IfWithSemicolon` with a setter call
- Fix an incorrect autocorrect for `Lint/AmbiguousBlockAssociation` with `Style/AndOr`
- Fix an infinite loop for `Layout/EmptyLinesAroundAccessModifier` with consecutive access modifiers
- Fix an incorrect autocorrect for `Style/Semicolon` with cops adding call parentheses
- Docs
- RuboCop::Cop::Style::RedundantSelf#braces_style_call?
- RuboCop::ConfigStore#force_default_config!
- RuboCop::Cop::Lint::EmptyWhen#empty_when_body?
- RuboCop::Cop::Lint::EmptyWhen#check_when
- RuboCop::Cop::Lint::EmptyWhen#on_case
- RuboCop::Cop::Rails::TimeZone#method_from_time_class?
- RuboCop::Cop::Lint::DuplicateCaseCondition#repeated_condition?
- RuboCop::Cop::Lint::DuplicateCaseCondition#when_conditions
- RuboCop::Cop::Lint::DuplicateCaseCondition#on_case
- RuboCop::Cop::TooManyLines#extract_body