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 `Style/HashSyntax` with an explicit hash value
- [Fix #12638] Fix result cache cleanup removing server state files
- Fix an error for `Layout/EmptyLinesAroundExceptionHandlingKeywords` with an endless method
- Fix an infinite loop for `Layout/HeredocArgumentClosingParenthesis` with code after the HEREDOC in the outer call
- Fix an incorrect autocorrect for `Lint/ParenthesesAsGroupedExpression` with a command call with a `do` block
- Fix an incorrect autocorrect for `Style/WordArray` with an invalid byte escape
- Add per-file offense allowances
- Fix an incorrect autocorrect for `Style/IfWithSemicolon` with an assignment of a command call
- Fix an incorrect autocorrect for `Style/RedundantBegin` with a command call assigned in an argument
- Fix an incorrect autocorrect for `Lint/NonAtomicFileOperation` with `Style/MethodCallWithArgsParentheses`
- Docs
- RuboCop::Cop::Lint::Void#trailing_comma?
- RuboCop::Cop::Lint::Void#operation?
- RuboCop::Cop::Style::GuardClause#unwrap_begin
- RuboCop::Cop::Layout::BlockEndNewline#heredoc_argument_after_block_end
- RuboCop::Cop::Style::RedundantInterpolation#rescue_void_value?
- RuboCop::Cop::Style::RedundantInterpolation#void_compound_statement?
- RuboCop::Cop::Style::RedundantInterpolation#void_value?
- RuboCop::Cop::Style::ClassAndModuleChildren#inline_end_range
- RuboCop::Cop::Style::ClassAndModuleChildren#end_line_range
- RuboCop::Cop::Style::AccessModifierDeclarations#on_own_lines?