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.
50 Subscribers
View all SubscribersAdd a CodeTriage badge to rubocop
Help out
- Issues
- Unsafe autocorrection for Lint/SafeNavigationChain
- A proposal to implement cop lazy loading
- Don't add parentheses around `return` without arguments in `Style/AndOr`
- Spurious warning: "[Cop] does not support SafeAutoCorrect parameter" when SafeAutoCorrect is a valid parameter for all cops
- [Fix #14981] Add Safe and SafeAutoCorrect to COMMON_PARAMS
- Add `AllowedParentClasses` option to `Style/EmptyClassDefinition`
- Add option to allow Lint/UselessAssignment and Style/MultilineIfModifier to ignore when used with keyword args
- `Style/HashLookupMethod` wrongly replaces `Rails.cache.fetch('key')` with `Rails.cache['key]`
- Layout/IndentationWidth picks the wrong fix
- Layout/BlockAlignment confused when there's a line break bw arguments
- Docs
- RuboCop::TargetRuby::MiseTomlFile#filename
- RuboCop::Cop::Style::MapJoin#no_receiver_range
- RuboCop::Cop::Style::MapJoin#removal_range
- RuboCop::Cop::Style::MapJoin#remove_map_call
- RuboCop::Cop::Style::MapJoin#register_offense
- RuboCop::Cop::Style::MapJoin#on_csend
- RuboCop::Cop::Style::MapJoin#on_send
- RuboCop::Cop::Style::MapJoin#map_to_s_itblock_join?
- RuboCop::Cop::Style::MapJoin#map_to_s_numblock_join?
- RuboCop::Cop::Style::MapJoin#map_to_s_block_join?