Add and apply Style/HashTransformKeys rubocop rule

The `transform_keys` method is available since Ruby 2.5.
This commit is contained in:
Javi Martín
2021-08-11 20:36:56 +02:00
parent 53aa1770a2
commit 720d3530d7
2 changed files with 4 additions and 1 deletions

View File

@@ -475,6 +475,9 @@ Style/HashConversion:
Style/HashSyntax:
Enabled: true
Style/HashTransformKeys:
Enabled: true
Style/HashTransformValues:
Enabled: true