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
- Lint/SafeNavigationConsistency: false positive on `a && x&.foo || b && x&.foo`
- Fix an infinite loop for `Style/MutableConstant` with a splat in a frozen array
- Fix an incorrect autocorrect for `Style/MutableConstant` with an omitted hash value
- Fix an incorrect autocorrect for `Lint/SymbolConversion` with hash value omission
- Fix CLI --show-docs-url option to use "latest" in path
- [Fix #16087] Link documentation URLs to the latest docs
- [Fix #16083] Fix false positives for `Lint/SafeNavigationConsistency` across `||` branches
- Fix `Style/BlockDelimiters` moving a trailing directive comment before the block
- Ruby version not inferred from mise with `ruby = { version: "4.0.7" }`
- Fix a `Parser::ClobberingError` for `Lint/NumberConversion` with a symbol conversion in a corrected receiver
- Docs
- RuboCop::Cop::Style::MultipleComparison#simple_comparison_rhs
- RuboCop::Cop::Style::MultipleComparison#simple_comparison_lhs
- RuboCop::ConfigLoaderResolver#duplicate_setting_warning
- RuboCop::ConfigLoaderResolver#remote_config?
- RuboCop::TargetRuby::RuboCopEnvVar#find_version
- RuboCop::TargetRuby::RuboCopEnvVar#name
- RuboCop::Cop::Util.parse_regexp
- RuboCop::Cop::Util#parse_regexp
- RuboCop::Cop::Lint::SharedMutableDefault#on_send
- RuboCop::Cop::Lint::SharedMutableDefault#hash_initialized_with_mutable_shared_object?