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.
124 Subscribers
View all SubscribersAdd a CodeTriage badge to rubocop
Help out
- Issues
- [Fix #15855] Make `Lint/PercentStringArray` suggest an array literal for quoted strings split at whitespace
- Clarify when a remote configuration file is refreshed
- Fix an error in server mode when the config file is missing or empty
- Fix an incorrect autocorrect for `Style/AccessModifierDeclarations` with an endless method command body
- Make first/default use friendly and terse
- Inline contributor links in release notes
- Add autocorrection pitfalls to AGENTS.md
- [Fix #15968] Fix an error when the gemspec search for the target Ruby version cannot list a directory
- Fix an incorrect autocorrect for `Layout/SpaceBeforeBlockBraces` with a brace after a line continuation
- `TargetRubyVersion` gemspec search traverses above the project root and crashes with `Errno::EPERM`
- Docs
- RuboCop::Cop::Style::Lambda#space_in_lambda_literal_required?
- RuboCop::Cop::Style::RedundantSort#before_accessor_source
- RuboCop::Cop::Style::RedundantSort#removable_line_break_before_accessor?
- RuboCop::Cop::Style::RedundantSort#remove_accessor
- RuboCop::Cop::Style::RedundantSort#code_after_accessor
- RuboCop::Cop::Style::RedundantSort#code_after_accessor_kept_apart?
- RuboCop::Cop::Style::MutableConstant#wrap_for_freeze
- RuboCop::Cop::Style::StructInheritance.autocorrect_incompatible_with
- RuboCop::Cop::HashAlignmentStyles::ValueAlignment#separator_shift
- RuboCop::Cop::Style::RedundantInterpolationUnfreeze#remove_unfreeze