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
- Preserve heredoc bodies in `Style/NonNilCheck` corrections
- Preserve heredoc bodies in `Style/ArrayIntersect` corrections
- Preserve heredocs and comments in `Lint/NumberConversion` corrections
- Preserve heredoc bodies in `Style/NilComparison` corrections
- Preserve code sharing the `else` line in `Style/NegatedIfElseCondition`
- Preserve neighboring statements in `Style/SwapValues` corrections
- Replace only block argument references in `Lint/UselessTimes`
- Fix an incorrect autocorrect for `Style/RedundantBegin` with code after a modifier condition
- Fix an incorrect autocorrect for `Lint/UselessTimes` with an inconsistently indented body
- Fix an incorrect autocorrect for `Lint/RedundantStringCoercion` with a heredoc in the receiver
- Docs
- RuboCop::Runner#save_in_cache
- RuboCop::Runner#cached_run?
- RuboCop::Runner#file_started
- RuboCop::Runner#autocorrect_unneeded_disables
- RuboCop::Runner#filtered_run?
- RuboCop::Runner#check_for_unneeded_disables?
- RuboCop::Runner#add_unneeded_disables
- RuboCop::Runner#file_offense_cache
- RuboCop::Runner#file_offenses
- RuboCop::Runner#process_file