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 false positive in `Lint/UselessConstantScoping` for files with multiple access modifiers preceding the constant
- Fix a false positive for Style/ModuleMemberExistenceCheck with non-constant receiver
- [Fix #8773] Fix false positives in `Style/HashTransform{Keys,Values}`
- Add Style/MapToSum
- Add new `Style/FileOpenWithoutBlock` cop
- [Fix #14916] Fix false positive for `Layout/MultilineMethodCallIndentation` when method chain is inside a hash pair value passed to a multiline chained method call
- Layout/MultilineMethodCallIndentation false positive for method chains inside hash pairs in method arguments #14916
- Add new `Style/InjectToHash` cop
- Add new `Style/MapJoin` cop
- Add `InferPredicateMethods` option to `Naming/PredicateMethod`
- Docs
- RuboCop::Cop::Style::ClassCheck#on_csend
- RuboCop::Cop::Style::UnpackFirst#on_csend
- RuboCop::Cop::Style::StringChars#on_csend
- RuboCop::Cop::Style::RedundantSort#on_csend
- RuboCop::Cop::Lint::NumberConversion#on_csend
- RuboCop::Cop::Style::ExactRegexpMatch#on_csend
- RuboCop::Cop::Style::RedundantArgument#on_csend
- RuboCop::Cop::Style::SingleArgumentDig#on_csend
- RuboCop::Cop::Layout::RedundantLineBreak#on_csend
- RuboCop::Cop::Style::ConcatArrayLiterals#on_csend