rubocop
https://github.com/rubocop/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.
13 Subscribers
Add a CodeTriage badge to rubocop
Help out
- Issues
- Add a server keepalive timeout
- Inspecting templates split into many fragments repeats the per-cop setup for every fragment
- Cache which cops apply to a file across its fragments
- Autocorrect only when more readable and expressive
- Ruby version not inferred from mise with `ruby = { version: "4.0.7" }`
- [Fix #16092] Read the Ruby version from a mise.toml inline table
- Fix empty and padded extended unicode escapes in StringInterpreter
- Make first/default use friendly and terse
- Extract `GemVersionSpecification` mixin
- Make `Security/JSONLoad` accept `JSON.load` when the lockfile resolves `json` to >= 3.0
- Docs
- RuboCop::Cop::Style::NilLambda#body_range_on_shared_line
- RuboCop::Cop::Style::NilLambda#own_lines?
- RuboCop::Cop::Style::GuardClause#remove_end
- RuboCop::Cop::Style::GuardClause#code_after_end_needs_conditional?
- RuboCop::Cop::Style::RedundantSort.autocorrect_incompatible_with
- RuboCop::Cop::Layout::ClassStructure#blank_line_above?
- RuboCop::Cop::Layout::ClassStructure#directly_followed?
- RuboCop::Cop::Layout::ClassStructure#blank_between?
- RuboCop::Cop::Layout::ClassStructure#moved_runs
- RuboCop::Cop::Layout::ClassStructure#separators