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 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`
- Support deferred, batched investigations across files
- Fix an incorrect autocorrect for `Layout/BlockEndNewline` with code after the closing brace of a heredoc block
- Fix an incorrect autocorrect for `Layout/BlockEndNewline` with a heredoc and cops inserting after the closing brace
- Fix an incorrect autocorrect for `Layout/EmptyLinesAfterModuleInclusion` with a heredoc argument
- Docs
- RuboCop::TargetFinder#combined_exclude_glob_patterns
- RuboCop::TargetFinder#wanted_dir_patterns
- RuboCop::Cop::Lint::HashCompareByIdentity#on_send
- RuboCop::ConfigRegeneration#generation_command
- RuboCop::ConfigRegeneration#todo_exists?
- RuboCop::ConfigRegeneration#options
- RuboCop::Cop::Style::DateTime#autocorrect
- RuboCop::Formatter::DisabledConfigFormatter#show_offense_counts?
- RuboCop::Formatter::DisabledConfigFormatter#show_timestamp?
- RuboCop::Version.document_version