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.
134 Subscribers
View all SubscribersAdd a CodeTriage badge to rubocop
Help out
- Issues
- Add new `Style/RedundantToS` cop
- False negative for `Style/RedundantLineContinuation` when line with continuation contains an interpolated string
- [Fix #13688] Fix false negative on `Style/RedundantLineContinuation` when the continuation is preceded by an interpolated string
- [Fix #13257] Don't consider cops to be opted in for department enables
- [Fix #13683] Prevent `ruby-lsp` from failing unrelated tests
- Fix false positive in `Style/RedundantLineContinuation` when the ruby code ends with a commented continuation
- [Fix #13677] Fix false negative on `Style/RedundantLineContinuation` when the continuation is followed by a percent array
- Considering `.arb` a ruby file leads to 'frozen_string_literal' warnings
- Add wildcard support to `--show-cops`
- Flaky `Metrics/AbcSize` spec
- Docs
- RuboCop::Cop::Style::ArrayFirstLast#find_offense_range
- RuboCop::Cop::Style::ArrayFirstLast#preferred_value
- RuboCop::Cop::Style::ArrayFirstLast#on_csend
- RuboCop::LSP::Diagnostic#offense_replacements
- RuboCop::LSP::Diagnostic#autocorrect_action
- RuboCop::LSP::Diagnostic#code_description
- RuboCop::LSP::Diagnostic#severity
- RuboCop::LSP::Diagnostic#message
- RuboCop::LSP::Diagnostic#to_lsp_diagnostic
- RuboCop::LSP::Diagnostic#to_lsp_code_actions