Skip to content

[EE] Enable the Style/PreferredHashMethods cop

EE MR for https://gitlab.com/gitlab-org/gitlab-ce/merge_requests/11883.

What does this MR do?

This enables the Style/PreferredHashMethods cop (https://github.com/bbatsov/rubocop/blob/022e7322b731b06bd31ce5ef1bac378b27551ed0/lib/rubocop/cop/style/preferred_hash_methods.rb).

Are there points in the code the reviewer needs to double check?

Do we prefer the verbose option maybe?

Merge request reports