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
- Write up useless / ambiguous flow control in lambdas
- Warn about variables that have no actual effect
- EmptyLineAfterGuardClause should accept commented guard clauses
- Allow disabling cache cleanup
- Require reflection for disabling cops
- Add new `Style/SelectByKind` cop
- The `Style/EmptyClassDefinition` cop warning message wording.
- [Fix #14647] Add `allow_exact_single_line` option to `Style/NumberedParameters` and `Style/ItBlockParameter`
- [Fix #12754] Fix infinite loop in Style/IfUnlessModifier with Layout cops
- Unexpected behavior when using multiple `change` matchers without `.and`
- Docs
- RuboCop::CommentConfig#apply_cop_op
- RuboCop::CommentConfig#apply_push
- RuboCop::CommentConfig#expand_cop_name
- RuboCop::CommentConfig#resolve_push_cops
- RuboCop::CommentConfig#snapshot_cops
- RuboCop::Cop::Style::GuardClause#find_heredoc_argument
- RuboCop::Formatter::TapFormatter#to_whitespace
- RuboCop::Cop::Lint::DuplicateMethods#inside_condition?
- RuboCop::Cop::Lint::DuplicateMethods#delegators?
- RuboCop::Cop::Lint::DuplicateMethods#delegator?