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.
49 Subscribers
View all SubscribersAdd a CodeTriage badge to rubocop
Help out
- Issues
- Fix an infinite loop for `Layout/EmptyLinesAroundClassBody` and `Layout/EmptyLinesAroundModuleBody` with a definition after a semicolon
- Fix an incorrect autocorrect for `Lint/ParenthesesAsGroupedExpression` with `Style/RedundantParentheses`
- Fix an incorrect autocorrect for `Style/IfUnlessModifierOfIfUnless` with `Style/MethodCallWithArgsParentheses`
- Fix an incorrect autocorrect for `Lint/LiteralInInterpolation` with a double quote in a percent array
- Fix an incorrect autocorrect for `Style/StructInheritance` with a brace block
- Fix an incorrect autocorrect for `Layout/MultilineMethodDefinitionBraceLayout` with `Style/MethodDefParentheses`
- Fix an incorrect autocorrect for `Lint/RedundantRequireStatement` with a `require` that is not a standalone statement
- Skip a Style/NumericLiterals example on Prism 1
- Move off the parser gem and onto Prism natively
- Support the experimental prism parser engine
- Docs
- RuboCop::Cop::RangeHelp#range_for_statement_removal
- RuboCop::Cop::Style::RedundantBegin#multiline_memoization?
- RuboCop::Cop::Lint::DuplicateRequire#statement_sequence?
- RuboCop::Cop::Style::StructInheritance#block_content_follows?
- RuboCop::Cop::Style::StructInheritance#replace_opening_brace_with_do
- RuboCop::Cop::Lint::RedundantRequireStatement#value_only_form?
- RuboCop::Cop::Lint::RedundantRequireStatement#statement?
- RuboCop::Cop::Style::SingleLineMethods#command_body_outside_statement?
- RuboCop::Cop::Lint::RedundantDirGlobSort#comment_line_joined_with_code?
- RuboCop::Cop::Lint::RedundantDirGlobSort#removal_range