Closed mbandrewfoster closed 7 months ago
This will make the ResolverMethodLength cop behave the same way other base rubocop code length metrics work, such as https://www.rubydoc.info/gems/rubocop/RuboCop/Cop/Metrics/MethodLength and https://www.rubydoc.info/gems/rubocop/RuboCop/Cop/Metrics/ModuleLength
ResolverMethodLength
Adds the CountAsOne configuration option that can accept ’array’, ‘hash’, ‘heredoc’, and ‘method_call’
CountAsOne
This will make the
ResolverMethodLength
cop behave the same way other base rubocop code length metrics work, such as https://www.rubydoc.info/gems/rubocop/RuboCop/Cop/Metrics/MethodLength and https://www.rubydoc.info/gems/rubocop/RuboCop/Cop/Metrics/ModuleLengthAdds the
CountAsOne
configuration option that can accept ’array’, ‘hash’, ‘heredoc’, and ‘method_call’