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
- Preserve heredoc bodies when `Layout/EmptyLineBetweenDefs` separates methods
- [Fix #10058] Make EmptyLineBetweenDefs register an offense when a method call is sandwiched between definitions
- Fix a false positive for `Lint/UselessMethodDefinition` when the method name is used
- Preserve heredoc messages when `Style/RaiseArgs` adds parentheses
- Fix an incorrect autocorrect for `Style/FileRead` when removing a heredoc body or comment
- Preserve arguments when `Style/EmptyLiteral` adds parentheses
- Preserve comments and heredocs when `Style/HashConversion` builds a hash literal
- Preserve heredocs when `Style/EmptyElse` removes a redundant branch
- Fix an incorrect autocorrect for `Gemspec/DeprecatedAttributeAssignment` with code on the same line
- [Fix #9858] Fix implicit hash table alignment
- Docs
- RuboCop::Cop::Rails::TimeZone#good_methods
- RuboCop::Cop::Rails::TimeZone#acceptable?
- RuboCop::Cop::Rails::TimeZone#need_check_localtime?
- RuboCop::Cop::Rails::TimeZone#danger_chain?
- RuboCop::Cop::Rails::TimeZone#check_localtime
- RuboCop::Cop::Rails::TimeZone#safe_method
- RuboCop::Cop::Rails::TimeZone#method_send?
- RuboCop::Cop::Rails::TimeZone#extract_method
- RuboCop::Cop::Rails::TimeZone#extract_method_chain
- RuboCop::Cop::Rails::TimeZone#build_message