rubocop
https://github.com/rubocop-hq/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.
48 Subscribers
View all SubscribersAdd a CodeTriage badge to rubocop
Help out
- Issues
- Move `ClassStructure` to `Style`
- Maybe Style/StringConcatenation should be conservative by default
- Rubocop inspects files using cops that it shouldn't use
- Style/HashSyntax adds inconsistent parens
- Rename `Lint/AmbiguousOperatorPrecedence` to `Style/ExplicitOperatorPrecedence`
- Be able to run rubocop in a "nested project" without picking up config in parent directories.
- JSON Schema for Rubocop Config
- Proposal: New cop for line breaks in long arrays
- Introduce cop to warn against usage of `$!` and `$@`.
- Inconsistent cop names `Lint/DisjunctiveAssignmentInConstructor` and `Lint/OrAssignmentToConstant`
- Docs
- RuboCop::Cop::Style::RaiseArgs#inside_corrected_raise?
- RuboCop::Cop::Style::RaiseArgs#replace_raise
- RuboCop::Cop::EndlessMethodBodyHelp#do_end_block_body_in_command_argument?
- RuboCop::Cop::EndlessMethodBodyHelp#argument_receiving_call
- RuboCop::Cop::EndlessMethodBodyHelp#body_disallowed_in_argument?
- RuboCop::Cop::Style::AccessModifierDeclarations#do_end_block?
- RuboCop::Cop::Style::AccessModifierDeclarations#body_unsafe_to_inline?
- RuboCop::Cop::Style::BlockDelimiters#directive_comment?
- RuboCop::Cop::Lint::UselessSetterCall#contain_local_object?
- RuboCop::Cop::Lint::HeredocMethodCallPosition.autocorrect_incompatible_with