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
- `Lint/UselessAssignment` fails when autocorrecting the code in 1.84.2
- [Fix #14773] Extend `Lint/StructNewOverride` to also check `Data.define`
- [Fix #14756] Detect void expressions in `case`/`when` branches
- [Fix #14098] Mark `Lint/SafeNavigationConsistency` autocorrect as unsafe
- [Fix #13860] Redesign the home page
- False negative on `Style/RedundantParentheses` for single condition in parentheses combined with &&
- Reduce precision in 'Finished in X.X seconds' message to 5 decimal places
- [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
- Docs
- RuboCop::Cop::Style::SendWithLiteralMethodName#offense_range
- RuboCop::Cop::Style::SendWithLiteralMethodName#allow_send?
- RuboCop::Cop::Style::SendWithLiteralMethodName#on_send
- RuboCop::Cop::Style::SymbolProc#autocorrect_lambda_block
- RuboCop::Formatter::DisabledConfigFormatter#should_set_max?
- RuboCop::Cop::Style::NumericPredicate#negated?
- RuboCop::Lockfile#bundler_lock_parser_defined?
- RuboCop::CachedData#location_from_source_buffer
- RuboCop::Cop::Lint::MixedCaseRange#regexp_range
- RuboCop::Cop::Style::MapIntoArray#correct_return_value_handling