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
- Pipe dream: Read $stdin by default if TTY
- Individual file exclusion patterns in AllCops/Exclude are ignored when project is located in hidden directory
- Make reporting issues easier
- Add option to ignore cops for RedundantCopDisableDirective
- Lint/Void should treat "case" and "if" the same way
- `Lint/InterpolationCheck` autocorrect causes a `SyntaxError`
- Do not autocorrect `Style/RedundantAssignment` offenses when there are comments between assignment and reference
- [Fix #11399] Add new `Style/MinimizeNegations` cop
- Register indentation offenses for hash values that start on the next line
- Write up useless / ambiguous flow control in lambdas
- 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?