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.
48 Subscribers
View all SubscribersAdd a CodeTriage badge to rubocop
Help out
- Issues
- `TargetRubyVersion` gemspec search traverses above the project root and crashes with `Errno::EPERM`
- Fix incorrect autocorrects for `Style/MultilineInPatternThen` and `Style/MultilineWhenThen` with an endless range
- Fix an incorrect autocorrect for `Style/IfUnlessModifier` with a heredoc nested in the body
- Fix an infinite loop for `Layout/FirstArgumentIndentation` with a method chain beginning its line
- Fix an infinite loop for `Layout/RedundantLineBreak` with offenses sharing a line
- Fix an infinite loop for `Layout/LineLength` with a string starting past the limit
- Fix an infinite loop for `Layout/SpaceInsideBlockBraces` with a comment after the left brace
- Fix an infinite loop for `Layout/EmptyLineAfterMultilineCondition` with a body on the condition line
- Fix an incorrect autocorrect for `Style/LambdaCall` with a heredoc argument
- Fix an incorrect autocorrect for `Style/CombinableLoops` with mixed block delimiters
- Docs
- RubyLsp::RuboCop::Addon#initialize
- RubyLsp::RuboCop::RuntimeAdapter#reload_config
- RubyLsp::RuboCop::Addon#changed_config_file
- RuboCop::Cop::Style::RedundantParentheses#singular_parenthesized_parent?
- RuboCop::Cop::Style::SafeNavigation#dotless_operator_method?
- RuboCop::TargetFinder#hidden_path?
- RuboCop::Cop::Style::ArrayIntersect#bad_intersection_predicates
- RuboCop::Cop::Style::ArrayIntersect#intersection_size_check?
- RuboCop::Cop::Style::RedundantBegin#on_case_match
- RuboCop::LSP::Routes#change_text