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
- #11514 New cop to catch unescaped ']' in RegExp
- Layout/BlockAlignment does not recognize "start of line" containing endless method
- Unexpected `Layout/HeredocIndentation` cop on the latest Prism parser
- Error for `Lint/MixedCaseRange` when invalid utf8 and offense exists
- Infinite loop with `Style/IfUnlessModifier -> Layout/EndAlignment, Layout/IndentationWidth`
- Attempt to fix offense.highlighted_area returning an incorrectly constructed range
- Fix auto-generation of outstanding issues to respect XDG configuration
- False negative for `Lint/Void` for expressions inside brackets
- YARD-style directives
- Question: fail only if autocorrectable offenses
- Docs
- RuboCop::Cop::HashTransformMethod#on_send
- RuboCop::Cop::HashTransformMethod#on_block
- RuboCop::Cop::Style::HashTransformValues#new_method_name
- RuboCop::Cop::Style::HashTransformValues#extract_captures
- RuboCop::Cop::Layout::LeadingCommentSpace#gemfile_ruby_comment?
- RuboCop::Cop::Layout::LeadingCommentSpace#ruby_comment_in_gemfile?
- RuboCop::Cop::Layout::LeadingCommentSpace#gemfile?
- RuboCop::Cop::Layout::LeadingCommentSpace#allow_gemfile_ruby_comment?
- RuboCop::Cop::Layout::SpaceBeforeFirstArg#no_space_between_method_name_and_first_argument?
- RuboCop::AST::Traversal#on_numblock