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.
49 Subscribers
View all SubscribersAdd a CodeTriage badge to rubocop
Help out
- Issues
- Remove a directive's `--` reason along with the directive
- Cop incorrectly handles missing space after = in endless functions
- Keep `justification` when an offense is loaded from the result cache
- Add new `Style/DirectiveScope` cop
- [Fix #15554] Make `AllowForAlignment` stop at block boundaries
- Fix Lint/UnusedPrivateMethod retaining stale info
- Laout/ExtraSpacing vs AllowForAlignment: more careful consideration of "adjacent" concept?
- [Fix #11119] Preserve persistent cop instances across files
- [Fix #13941] Fix false positives for Lint/UselessConstantScoping with class-like assignments
- Fix `Lint/UselessMethodDefinition` FP for methods with `**kwargs`
- Docs
- RuboCop::Cop::Style::HashFetchChain#inspect_chain
- RuboCop::Cop::Style::HashFetchChain#last_fetch_non_nil?
- RuboCop::Cop::Style::HashFetchChain#on_csend
- RuboCop::Cop::Style::HashFetchChain#on_send
- RuboCop::Cop::Style::HashFetchChain#diggable?
- RuboCop::Cop::Naming::MethodName#register_forbidden_name
- RuboCop::Cop::Naming::MethodName#forbidden_name?
- RuboCop::Cop::ForbiddenPattern#forbidden_patterns
- RuboCop::Cop::ForbiddenPattern#forbidden_pattern?
- RuboCop::Cop::ForbiddenIdentifiers#forbidden_identifiers