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.
132 Subscribers
View all SubscribersAdd a CodeTriage badge to rubocop
Help out
- Issues
- Cop idea: detect misspelling of constructor
- An error occurred while Capybara/RSpec/PredicateMatcher cop was inspecting
- Add `Mode: conservative` configuration to `Style/FormatStringToken` to make the cop only register offenses for strings given to `printf`, `sprintf`, `format`, and `%`
- Detect binding to variables for alternative patterns
- Fix `InternalAffairs/RedundantDescribedClassAsSubject` cop error on missing `describe`
- Warn when list of target files greater than MaxFilesInCache config
- [Fix #12049] Add new `Style/HashDig` cop to detect method chains that can be replaced with a single call to `dig`
- [Documentation] Update autocorrect docs to accurately define safety
- [Fix #13941] Fix false negative from `Lint/UselessConstantScoping` for class and module definitions
- False positive on Lint/UselessConstantScoping with `MyClass = Class.new`
- Docs
- RuboCop::Cop::InternalAffairs::NodePatternGroups::ASTProcessor#on_subsequence
- RuboCop::Cop::Style::ArgumentsForwarding#allow_anonymous_forwarding_in_block?
- RuboCop::Cop::Style::ArgumentsForwarding#all_forwarding_offenses_correctable?
- RuboCop::Cop::HashSubset#range_include?
- RuboCop::Cop::StatementModifier#omitted_value_in_last_hash_arg?
- RuboCop::Cop::Lint::ArrayLiteralInRegexp#escape_values
- RuboCop::Cop::Lint::ArrayLiteralInRegexp#alternation_for
- RuboCop::Cop::Lint::ArrayLiteralInRegexp#character_class_for
- RuboCop::Cop::Lint::ArrayLiteralInRegexp#character_class?
- RuboCop::Cop::Lint::ArrayLiteralInRegexp#array_values