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
- 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`
- Fix an infinite loop for `Layout/FirstArrayElementLineBreak` with `Layout/SpaceInsideArrayLiteralBrackets` compact style
- Suggests module/class split that causes TypeError
- Fix an error for `Style/ClassAndModuleChildren` when compacting a namespace that contains another compactable one
- Extract `GemVersionSpecification` mixin
- Make `Security/JSONLoad` accept `JSON.load` when the lockfile resolves `json` to >= 3.0
- Can Rubocop give context-dependent advice when mixing %w and quotes?
- Docs
- RuboCop::Cop::Style::For#convertible_to_for?
- RuboCop::Cop::Style::Lambda#space_inside_parens?
- RuboCop::Cop::Layout::LineLength#starts_after_quote?
- RuboCop::Cop::Layout::LineLength#blank_left_part?
- RuboCop::Cop::Layout::LineLength#blank_between?
- RuboCop::Cop::Style::GuardClause#close_multiline_guard_clause
- RuboCop::Cop::Layout::DotPosition#move_dot_after_receiver
- RuboCop::Cop::Layout::DotPosition#move_dot_before_selector
- RuboCop::Cop::Layout::DotPosition#removed_dot_range
- RuboCop::Cop::Style::MixinGrouping#mixin_call