rubocop
https://github.com/bbatsov/rubocop
Ruby
A Ruby static code analyzer, 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.
126 Subscribers
View all SubscribersAdd a CodeTriage badge to rubocop
Help out
- Issues
- Fix Lint/UnusedPrivateMethod retaining stale info
- Keep `justification` when an offense is loaded from the result cache
- Add new `Style/DirectiveScope` cop
- Reuse cop teams across files of the same config
- Laout/ExtraSpacing vs AllowForAlignment: more careful consideration of "adjacent" concept?
- [Fix #15554] Make `AllowForAlignment` stop at block boundaries
- Add `--report-unused-todo-entries` to catch rotting todo files
- [Fix #11119] Preserve persistent cop instances across files
- [Fix #13941] Fix false positives for Lint/UselessConstantScoping with class-like assignments
- Fix `Lint/RedundantSafeNavigation` FP for shadowed block variables
- Docs
- RuboCop::Cop::Style::OneLineConditional#branch_body_indentation
- RuboCop::Cop::Style::OneLineConditional#else_branch_to_multiline
- RuboCop::Cop::Style::OneLineConditional#multiline_replacement
- RuboCop::Cop::Style::OneLineConditional#cannot_replace_to_ternary?
- RuboCop::Cop::Style::OneLineConditional#always_multiline?
- RuboCop::Cop::Layout::EmptyLineAfterMagicComment#offending_range
- RuboCop::Cop::Layout::EmptyLineAfterMagicComment#on_new_investigation
- RuboCop::Cop::CommentsHelp#start_line_position
- RuboCop::Cop::CommentsHelp#begin_pos_with_comment
- RuboCop::Cop::CommentsHelp#end_position_for