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.
126 Subscribers
View all SubscribersAdd a CodeTriage badge to rubocop
Help out
- Issues
- Introduce cop to warn against usage of `$!` and `$@`.
- Style/StringLiterals is missing quoted quotes
- Inconsistent cop names `Lint/DisjunctiveAssignmentInConstructor` and `Lint/OrAssignmentToConstant`
- `Lint/AmbiguousOperatorPrecedence` configuration
- `Layout/EmptyLineBetweenDefs` does not require a line between method definitions separated by a method call
- Layout/MultilineMethodCallIndentation does not enfore indentation inside arguments
- Lint/ShadowedException does not specify the problem class when multiple classes are present
- `Lint/UselessMethodDefinition` unaware of differing method arity between parent and child when using `super`
- Non-declaration between declarations should stop equal sign alignment enforcement
- Layout/ExtraSpacing does not detect some occurrences (default config)
- Docs
- 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?
- RuboCop::Cop::Style::Semicolon#replace_semicolon_with_line_break
- RuboCop::Cop::Style::FileWrite#removed?
- RuboCop::Cop::Style::FileWrite#find_heredocs