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 #16149] Fix false positives in `Style/RedundantSelf` with a splat in multiple assignment
- Fix an infinite loop for `Style/RedundantBegin` and `Style/IfUnlessModifier` with `Layout/SpaceInsideParens`
- Fix an incorrect autocorrect for `Style/EndlessMethod` with modifier cops
- Add `TreatClassLikeAssignmentsAsClassOrModule` option to `Layout/ClassStructure`
- Add `indented_relative_to_chain` style to `Layout/MultilineMethodCallIndentation`
- Fix an infinite loop for `Layout/EndAlignment` with a class or module assigned to a constant
- Fix an incorrect autocorrect for `Lint/ParenthesesAsGroupedExpression` with a command call operand
- Fix an infinite loop for `Layout/SpaceInsideBlockBraces` with `Layout/BlockAlignment`
- Fix an infinite loop for `Layout/SpaceInsideRangeLiteral` with a nested endless range
- Fix a false negative for `Lint/RedundantCopDisableDirective` when autocorrection shifts lines
- Docs
- RuboCop::Cop::Layout::ExtraSpacing#prepare_alignment_data
- RuboCop::Cop::Layout::ExtraSpacing#spacing_before_token_at
- RuboCop::Cop::Layout::ExtraSpacing#nearest_spacing_differs?
- RuboCop::Cop::Layout::ExtraSpacing#nearest_spacing_varies?
- RuboCop::Cop::Layout::ExtraSpacing#record_line_spacings
- RuboCop::Cop::Layout::ExtraSpacing#build_group_profile
- RuboCop::Cop::Layout::ExtraSpacing#group_profile
- RuboCop::Cop::Layout::ExtraSpacing#distinct_spacings
- RuboCop::Cop::Layout::ExtraSpacing#aligned_on_other_column?
- RuboCop::Cop::Layout::ExtraSpacing#uniform_alignment_allowed?