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.
130 Subscribers
View all SubscribersAdd a CodeTriage badge to rubocop
Help out
- Issues
- Make `Style/RedundantParentheses` allow parentheses in assignment
- add cop for standardizing json serialization to to_json
- If ~/.rubocop.yml contains a Rails (or Performance) cop, loading excludes causes "`Rails` cops have been extracted" error
- Do not try to expand nil Include when inheriting.
- [Fix #9227] Change to better suggestion for Style/GuardClause
- Add `DisableCopForEntireFileInSourceCode` cop
- AllCops > Include parameter isn't behaving as expected
- [Fix #7077] Rename cops to meet the cop naming guideline
- Introduce cop to warn against usage of `$!` and `$@`.
- `Lint/AmbiguousOperatorPrecedence` configuration
- Docs
- RuboCop::MagicComment::SimpleComment#new_frozen_string_literal
- RuboCop::MagicComment::EmacsComment#new_frozen_string_literal
- RuboCop::Cop::Style::RedundantCondition#wrap_arguments_with_parens
- RuboCop::Server::Cache.load_erb_templated_yaml
- RuboCop::Cop::Style::Next#allowed_consecutive_conditionals?
- RuboCop::Cop::Style::Next#consecutive_conditionals?
- RuboCop::Cop::Style::IpAddresses#potential_ip?
- RubyLsp::RuboCop::RuntimeAdapter#prism_result
- RuboCop::Cop::Style::ItBlockParameter#on_numblock
- RuboCop::Cop::Style::ItBlockParameter#on_block