From 6ce083d29402526f52892a53dd2efbf80661e522 Mon Sep 17 00:00:00 2001 From: Mike McQuaid Date: Wed, 19 Feb 2020 11:18:29 +0000 Subject: [PATCH] rubocop.yml: enable new checks. --- Library/.rubocop_shared.yml | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/Library/.rubocop_shared.yml b/Library/.rubocop_shared.yml index fbdc59353f..57d280ec7c 100644 --- a/Library/.rubocop_shared.yml +++ b/Library/.rubocop_shared.yml @@ -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