rubocop
https://github.com/bbatsov/rubocop
Ruby
A Ruby static code analyzer, 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.
124 Subscribers
View all SubscribersAdd a CodeTriage badge to rubocop
Help out
- Issues
- Tuning RuboCop's defaults from real-world usage data (RuboCop 2 discussion)
- Allow interpolation for Lint/SymbolConversion
- New cop to detect condition branches made redundant by an early exit
- Configuration option for `Layout/HashAlignment` to ensure a minimum indentation for all members of the hash.
- Run in parallel when generating TODO file
- Style/RedundantConditional should cover cases where only true is returned
- EnforcedShorthandSyntax for keyword argument values
- Maybe Style/StringConcatenation should be conservative by default
- Be able to run rubocop in a "nested project" without picking up config in parent directories.
- JSON Schema for Rubocop Config
- Docs
- RuboCop::Cop::Style::ReturnNilInPredicateMethodDefinition#on_defs
- RuboCop::Cop::Style::ReturnNilInPredicateMethodDefinition#on_def
- RuboCop::Cop::Style::ReturnNilInPredicateMethodDefinition#return_nil?
- RuboCop::Cop::Lint::MissingSuper#allowed_classes
- RuboCop::Cop::Lint::MissingSuper#allowed_class?
- RuboCop::Cop::Lint::DuplicateRegexpCharacterClassElement#octal?
- RuboCop::Cop::Lint::DuplicateRegexpCharacterClassElement#escaped_octal?
- RuboCop::Cop::Lint::DuplicateRegexpCharacterClassElement#source_range
- RuboCop::Cop::Lint::DuplicateRegexpCharacterClassElement#pop_octal_digits
- RuboCop::Cop::Lint::DuplicateRegexpCharacterClassElement#group_expressions