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
- [Fix #14756] Detect void expressions in `case`/`when` branches
- [Fix #14829] Allow classes without a superclass in `Style/EmptyClassDefinition`
- Infinite loop caused by `Style/IfUnlessModifier`, `Layout/EndAlignment`, `Layout/IndentationWidth` cops
- [Fix #8879] Add new `Style/ComplexUnless` cop
- [Fix Rubocop#5933]: add a configuration option to allow file level rubocop:disables
- Calling map/collect with block inside method that accepts block produces unexpected result
- Rubocop config "include" is not absolute
- Template files are not correctly autocorrected
- Performance issue with rubocop rspec support
- Warn about operator precedence pitfalls {} vs do end
- Docs
- RuboCop::Cop::Style::SelectByRange#find_range
- RuboCop::Cop::Style::SelectByRange#unwrap_negation
- RuboCop::Cop::Style::SelectByRange#negated?
- RuboCop::Cop::Style::SelectByRange#calls_lvar_in_range_check?
- RuboCop::Cop::Style::SelectByRange#extract_send_node
- RuboCop::Cop::Style::SelectByRange#register_offense
- RuboCop::Cop::Style::SelectByRange#replacement
- RuboCop::Cop::Style::SelectByRange#receiver_allowed?
- RuboCop::Cop::Style::SelectByRange#on_csend
- RuboCop::Cop::Style::SelectByRange#on_send