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.
126 Subscribers
View all SubscribersAdd a CodeTriage badge to rubocop
Help out
- Issues
- [Fix #15131] Prefer bitwise predicate for zero bit checks
- feat: add `disable-next-line` comment to allow disabling cops with directive comment
- [Fix #13794] Fix Layout/LineLength autocorrection for endless methods with blocks
- Classic Sunday: Don't suggest intermediate fix that prompts another fix
- Consider warning about curious use of until
- #15117 Enhance nil check handling and improve offense detection
- fix(layout): avoid IndentationStyle false positive on tab+space alignment
- [Fix #15117] Add `AllowConsecutiveConditionals` option to `Style/IfUnlessModifier`
- Add Style/FeatureEnvy
- Add `Style/IfUnlessModifier` configuration to allow consecutive conditions
- Docs
- RuboCop::Cop::Style::Lambda.autocorrect_incompatible_with
- RuboCop::Cop::Style::MultipleComparison#collect_comparison
- RuboCop::Cop::Style::MultipleComparison#preferred_method
- RuboCop::Cop::Style::MultipleComparison#skipped_within_range?
- RuboCop::Server::Cache.dir_path
- RuboCop::Cop::StatementModifier#allowed_patterns
- RuboCop::Cop::StatementModifier#line_length_enabled_at_line?
- RuboCop::Cop::StatementModifier#allowed_by_uri?
- RuboCop::Cop::StatementModifier#acceptable_line_length?
- RuboCop::Cop::StatementModifier#line_in_modifier_form