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.
50 Subscribers
View all SubscribersAdd a CodeTriage badge to rubocop
Help out
- Issues
- Suggest File::Stat method that actually exists
- Consider warning about curious use of until
- #15117 Enhance nil check handling and improve offense detection
- [Fix #15122] Fix false positive in `Layout/MultilineMethodCallIndentation`
- fix(layout): avoid IndentationStyle false positive on tab+space alignment
- Layout/MultilineMethodCallIndentation: one more glitch with long method chains
- Layout/MultilineMethodCallIndentation is broken since 1.84.2
- [Fix #15117] Add `AllowConsecutiveConditionals` option to `Style/IfUnlessModifier`
- Add Style/FeatureEnvy
- Add `Style/IfUnlessModifier` configuration to allow consecutive conditions
- Docs
- RuboCop::Cop::Style::OneClassPerFile#on_module
- RuboCop::Cop::Style::OneClassPerFile#on_class
- RuboCop::Cop::Style::OneClassPerFile#on_new_investigation
- RuboCop::Cop::Lint::UnreachablePatternBranch#catch_all_pattern?
- RuboCop::Cop::Lint::UnreachablePatternBranch#on_case_match
- RuboCop::Cop::Style::PartitionInsteadOfDoubleSelect#build_partition_call
- RuboCop::Cop::Style::PartitionInsteadOfDoubleSelect#select_node_for
- RuboCop::Cop::Style::PartitionInsteadOfDoubleSelect#negation_partition_args
- RuboCop::Cop::Style::PartitionInsteadOfDoubleSelect#complementary_variable_order
- RuboCop::Cop::Style::PartitionInsteadOfDoubleSelect#autocorrect