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 #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
- [Fix #14791] Fix autocorrect producing `SyntaxError` in `Lint/InterpolationCheck` when single quoted string contains double quotes with invalid interpolation
- [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
- Lint/MissingCopEnableDirective is disabled by rubocop:disable all
- Docs
- RuboCop::Cop::Style::SendWithLiteralMethodName#on_csend
- RuboCop::Cop::Style::MethodCallWithoutArgsParentheses#on_csend
- RuboCop::Cop::Layout::LineLength#on_csend
- RuboCop::Cop::Layout::HashAlignment#on_csend
- RuboCop::Cop::Layout::HeredocArgumentClosingParenthesis#on_csend
- RuboCop::Cop::Metrics::MethodLength#allowed?
- RuboCop::Cop::Layout::HashAlignment#same_line?
- RuboCop::Cop::Style::MethodCallWithArgsParentheses::OmitParentheses#ambiguous_range_argument?
- RuboCop::Cop::Style::FloatDivision#to_f_method?
- RuboCop::Cop::Style::MultipleComparison#simple_comparison