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.
123 Subscribers
View all SubscribersAdd a CodeTriage badge to rubocop
Help out
- Issues
- Fix an incorrect autocorrect for `Layout/MultilineHashBraceLayout` with a comment line before the closing brace
- Fix a false positive for `Layout/ExtraSpacing` with aligned keyword defaults
- Fix an incorrect autocorrect for `Lint/InterpolationCheck` in a split string
- Fix an incorrect autocorrect for Style/RaiseArgs with a heredoc message
- `Layout/ExtraSpacing` with `AllowForAlignment: true` flags aligned values when same-type tokens in a column have equal spacing (regression in 1.90.0)
- Warns about nested percents gone right
- Add `TreatClassLikeAssignmentsAsClassOrModule` option to `Layout/ClassStructure`
- Add `indented_relative_to_chain` style to `Layout/MultilineMethodCallIndentation`
- Fix an infinite loop for `Layout/SpaceAroundOperators` with `Layout/LineContinuationSpacing`
- Allow git worktrees of the same project to share the result cache
- Docs
- CopsDocumentationGenerator#cops
- CopsDocumentationGenerator#departments
- CopsDocumentationGenerator#call
- CopsDocumentationGenerator#initialize
- RuboCop::Cop::Style::SingleArgumentDig#on_send
- RuboCop::Cop::InternalAffairs::UselessMessageAssertion#on_new_investigation
- RuboCop::Cop::Naming::FileName#on_new_investigation
- RuboCop::Cop::CodeLength#build_code_length_calculator
- RuboCop::Cop::Metrics::BlockNesting#on_new_investigation
- RuboCop::Cop::Naming::AsciiIdentifiers#on_new_investigation