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.
133 Subscribers
View all SubscribersAdd a CodeTriage badge to rubocop
Help out
- Issues
- False positive for `Layout/FirstArgumentIndentation` and `Layout/ClosingParenthesisIndentation` cops
- `Style/ArgumentsForwarding` should default to `UseAnonymousForwarding: false`
- Disable `Lint/ShadowingOuterLocalVariable` by default
- False positive for `Lint/Void`
- Cop Naming/FileName not honoring "Exclude" property
- Incorrect auto-correct on Style/InverseMethods and safe navigation.
- Bug: When a department is specificed with include/exclude, the inherit mode is ignored on specific cops.
- 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
- Docs
- RubyLsp::RuboCop::RuntimeAdapter#uri_to_path
- RubyLsp::RuboCop::RuntimeAdapter#run_range_formatting
- RubyLsp::RuboCop::RuntimeAdapter#run_formatting
- RubyLsp::RuboCop::RuntimeAdapter#run_diagnostic
- RubyLsp::RuboCop::RuntimeAdapter#initialize
- RuboCop::Cop::Style::RedundantParentheses#variable?
- RuboCop::Cop::Lint::SuppressedExceptionInNumberConversion#expected_exception_classes_only?
- RuboCop::Cop::Lint::SuppressedExceptionInNumberConversion#on_rescue
- RuboCop::Cop::Lint::SuppressedExceptionInNumberConversion#constructor_receiver?
- RuboCop::Cop::Lint::SuppressedExceptionInNumberConversion#numeric_method?