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 #15441] Add new `AllowYARDCommentBlockSeparator` option to `Layout/LeadingCommentSpace`
- [Fix #8565] Support `NewCops` in department configuration
- Inconsistent and misleading resolution of multi-line elsif
- [Fix #15445] Fix false positives for `Style/MultilineIfThen`
- `Layout/LeadingCommentSpace` should accept `#-` yard comment-block separator
- Fix an error for Style/ArrayIntersect cop
- Style/ArrayIntersect autocorrects `none? { |s| str.include?(s) }` into a TypeError
- [Fix #15438] Fix false positives in `Style/ArrayIntersect`
- [Fix #14983] Load cops lazily
- Extended safe navigation masks wanted exceptions
- Docs
- RuboCop::Cop::AlignmentCorrector.configured_indentation_width
- RuboCop::Cop::AlignmentCorrector.target_tab_indentation
- RuboCop::Cop::AlignmentCorrector.correct_tab_line
- RuboCop::Cop::AlignmentCorrector.correct_tab_indentation
- RuboCop::Runner#in_memory_corrections_possible?
- RuboCop::Runner#emulate_write_read_cycle
- RuboCop::Runner#inspect_iteration
- RuboCop::Cop::Team#updated_source
- RuboCop::Cop::Team#defer_corrections=
- RuboCop::Cop::Team#defer_corrections