Add and apply Style/HashTransformKeys rubocop rule
The `transform_keys` method is available since Ruby 2.5.
This commit is contained in:
@@ -475,6 +475,9 @@ Style/HashConversion:
|
||||
Style/HashSyntax:
|
||||
Enabled: true
|
||||
|
||||
Style/HashTransformKeys:
|
||||
Enabled: true
|
||||
|
||||
Style/HashTransformValues:
|
||||
Enabled: true
|
||||
|
||||
|
||||
Reference in New Issue
Block a user