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
- Layout/ExtraSpacing does not detect some occurrences (default config)
- False negative with Layout/HashAlignment with table style
- Layout/HashAlignment, table, vs implicit last argument
- `Layout/ClassStructure` wrong reordering
- [Fix #9325] Make Exclude config parameters merge by default
- Layout/FirstArgumentIndentation does the wrong thing with "decorators" like "memoize \;def foo; end"
- Layout/ClassStructure can be confused by what is a class body
- Layout/ClassStructure ignores `private_class_method`
- Style/StringConcatenation changes escape sequences unexpectedly
- Layout/EmptyLinesAroundArguments has a bad default: makes documentation worse
- Docs
- RuboCop::Cop::Layout::BlockAlignment#inside_parentheses?
- RuboCop::Cop::Layout::IndentationWidth#on_begin
- RuboCop::Cop::Layout::IndentationWidth#opening_line_start
- RuboCop::Cop::Lint::UnescapedBracketInRegexp#empty_character_set?
- RuboCop::Cop::Lint::UnescapedBracketInRegexp#detect_offenses_in_tree
- RuboCop::Cop::Metrics::PerceivedComplexity#simple_in_pattern?
- RuboCop::Cop::Lint::ToEnumArguments#keyword_hash_argument?
- RuboCop::Formatter::DisabledConfigFormatter#exclude_limit_option
- RuboCop::Cop::Base#matches_absolute_include_pattern?
- RuboCop::Cop::Style::Semicolon#heredoc_opened_before_semicolon?