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 Naming/FileName not honoring "Exclude" property
- Run in parallel when generating TODO file
- Cannot set `LANG`/`RUBYOPT` in VSCode Ruby LSP environment, leading to unwanted escaping of non-ASCII strings
- Layout/HashAlignment for method last argument, align as other method arguments
- Propose new cop to detect keyword method names
- Require `prism` as a parser to analyse newly released ruby versions
- Reenable `Lint/CircularArgumentReference` for Ruby 3.4
- Add Style/It cop
- new cop: Single Line Complexity
- Permit indentation whitespace after `"...\n" \`
- Docs
- RuboCop::Cop::Style::FormatStringToken#allowed_string?
- RuboCop::Cop::Style::FormatStringToken#conservative?
- RuboCop::Cop::Style::RedundantCurrentDirectoryInPath#redundant_path_length
- RuboCop::Cop::Style::ComparableBetween#register_offense
- RuboCop::Cop::Style::ComparableBetween#on_and
- RuboCop::Cop::Style::ComparableBetween#logical_comparison_between_by_max_first?
- RuboCop::Cop::Style::ComparableBetween#logical_comparison_between_by_min_first?
- RuboCop::ConfigObsoletion::ExtractedCop#plugin_loaded?
- RuboCop::Cop::Lint::SharedMutableDefault#capacity_keyword_argument?
- RuboCop::Cop::Lint::RedundantTypeConversion#bigdecimal_constructor?