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.
126 Subscribers
View all SubscribersAdd a CodeTriage badge to rubocop
Help out
- Issues
- Fix a bad autocorrect for `Lint/RedundantSplatExpansion` with empty literals
- Fix a bad autocorrect for `Lint/RegexpAsCondition` with a negated regexp
- Fix two `Lint/ScriptPermission` bugs (config autocorrect, virtual-source crash)
- Make `Lint/RedundantWithObject` autocorrect unsafe
- Fix a false positive for `Lint/ShadowingOuterLocalVariable` with `case`/`in`
- Fix a false negative for `Lint/SafeNavigationWithEmpty`
- Fix false negatives for `Lint/RescueType` (true/false/rational/complex)
- Fix two false negatives for `Lint/RedundantSafeNavigation`
- Fix a false negative for `Lint/RedundantWithIndex` with no block argument
- Fix a false negative for `Lint/SafeNavigationChain` with parentheses
- Docs
- Changelog::Entry#filename_body
- RuboCop::Cop::Style::WhileUntilDo#same_line_body?
- RuboCop::Cop::Style::StructInheritance#wrap_unparenthesized_call_with_do
- RuboCop::Cop::Style::StructInheritance#unparenthesized_struct_new?
- RuboCop::Cop::Style::Alias#alias_method_value_used?
- RuboCop::Cop::Style::FileWrite#find_heredoc
- RuboCop::Cop::Style::FileWrite#heredoc_in_write
- RuboCop::Runner#project_index_enabled?
- RuboCop::Runner#project_index_disables_parallel?
- RuboCop::Version.rubydex_enabled?