rubocop.yml: enable new checks.

This commit is contained in:
Mike McQuaid 2020-02-19 11:18:29 +00:00
parent dd0b1bd2dc
commit 6ce083d294
No known key found for this signature in database
GPG Key ID: 48A898132FD8EE70

View File

@ -50,6 +50,14 @@ Style/CollectionMethods:
Style/FormatStringToken:
EnforcedStyle: annotated
# autocorrectable and more readable
Style/HashEachMethods:
Enabled: true
Style/HashTransformKeys:
Enabled: true
Style/HashTransformValues:
Enabled: true
# This shouldn't be enabled until LineLength is lower.
Style/IfUnlessModifier:
Enabled: false