rubocop
https://github.com/rubocop-hq/rubocop
Ruby
A Ruby static code analyzer and formatter, 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.
50 Subscribers
View all SubscribersAdd a CodeTriage badge to rubocop
Help out
- Issues
- Support autocorrection for tab indentation in `Layout/IndentationWidth` and `Style/ClassAndModuleChildren`
- Change `Lint/DuplicateMethods` to detect duplicates across files
- [Fix #11956] False positive for `Naming/FileName` with multiple acronyms
- [Fix #15312] Fix false positives in `Layout/BlockAlignment`
- [Fix #15298] Fix an incorrect autocorrect for `Lint/LiteralInInterpolation`
- Possible regression for `Layout/BlockAlignment` cop
- [Fix #15284] Fix a false positive for `Style/MutableConstant` with `Data.define`
- [Fix #12017] Don't autocorrect a constant used in a void context
- Add `Lint/ImplicitTypeCoercion` cop
- Inline `# rubocop:disable Metrics/ParameterLists` does not suppress offense for multi-line method definitions
- Docs
- RuboCop::Cop::Lint::NumberConversion#safe_navigation?
- RuboCop::Cop::Lint::NumberConversion#current_method
- RuboCop::Cop::Lint::ToEnumArguments#positional_arguments
- RuboCop::Cop::Lint::ToEnumArguments#expandable_arguments?
- RuboCop::Cop::Lint::ToEnumArguments#variadic_parameters?
- RuboCop::Cop::Lint::ToEnumArguments#extra_positional_arguments?
- RuboCop::Cop::Lint::SymbolConversion#dstr_correction
- RuboCop::Cop::Lint::SymbolConversion#symbol_conversion_correction
- RuboCop::Cop::Lint::ToEnumArguments#positional_parameters
- RuboCop::Cop::Style::MutableConstant#mutable_nodes