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.
123 Subscribers
View all SubscribersAdd a CodeTriage badge to rubocop
Help out
- Issues
- Preserve expression values in `Style/EmptyClassDefinition`
- Fix `Style/SuperWithArgsParentheses` for a block in command arguments
- Fix incorrect autocorrects for `Style/IfInsideElse` with heredocs
- Preserve heredoc content when checking for empty lines around bodies
- Fix an incorrect autocorrect for `Style/ClassMethodsDefinitions` with a singleton class used as an expression
- Fix false positives in `Style/DoubleNegation` when using a method call negation
- Fix false positives in `Style/DoubleNegation` when using a parenthesized negation in a longer chain
- Fix incorrect autocorrects for `Style/MapToHash` and `Style/MapToSet` with a comment before the conversion
- Fix an error for `Style/InverseMethods` when `!` is called as a method
- Find cached results without loading the cops
- Docs
- RuboCop::ConfigLoader.gem_config_path
- RuboCop::ConfigLoader.yaml_safe_load
- RuboCop::ConfigLoader.load_yaml_configuration
- RuboCop::ConfigLoader.transform
- RuboCop::ConfigLoader.merge_with_default
- RuboCop::ConfigLoader.default_configuration
- RuboCop::ConfigLoader.configuration_from_file
- RuboCop::ConfigLoader.configuration_file_for
- RuboCop::ConfigLoader.base_configs
- RuboCop::ConfigLoader.merge