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 infinite loop for `Layout/EmptyLinesAroundAccessModifier` with a conditional access modifier in a block
- Fix an infinite loop for `Layout/EmptyLinesAroundClassBody` and `Layout/EmptyLinesAroundModuleBody` with a statement on the class line
- Fix an incorrect autocorrect for `Style/EmptyClassDefinition` with a `do...end` block command call
- Add `exact` style to `Bundler/GemVersion`
- Fix an incorrect autocorrect for `Lint/SafeNavigationChain` with a multiline command argument
- Fix incorrect autocorrects for `Style/OperatorMethodCall` with a trailing comma
- Add `--files-from` to read target paths from a file
- Fix an incorrect autocorrect for `Lint/NonAtomicFileOperation` with code after `end`
- Fix an incorrect autocorrect for `Lint/NonAtomicFileOperation` with `then`
- Fix an incorrect autocorrect for `Style/FileWrite` with code after a heredoc argument
- Docs
- RuboCop::Ext::RegexpParser::Map#body
- RuboCop::Cop::Style::MultipleComparison#allow_method_comparison?
- RuboCop::Cop::Lint::UnmodifiedReduceAccumulator#potential_offense?
- RuboCop::Ext::RegexpNode#assign_properties
- RuboCop::Cop::Lint::ToEnumArguments#argument_match?
- RuboCop::Cop::Lint::ToEnumArguments#arguments_match?
- RuboCop::Cop::Lint::ToEnumArguments#on_send
- RuboCop::Cop::Style::MultipleComparison#on_new_investigation
- RuboCop::Cop::Lint::OutOfRangeRegexpRef#nth_ref_receiver?
- RuboCop::Cop::Lint::OutOfRangeRegexpRef#regexp_receiver?