From 00ea471ed8731c5e18ad55ff352de32d72d8cccc Mon Sep 17 00:00:00 2001 From: Christos Papageorgiou Date: Tue, 29 Mar 2022 14:12:25 +0300 Subject: [PATCH] Layout/HashAlignment: Allow both key and table styles --- rubocop.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/rubocop.yml b/rubocop.yml index 128c39c..144fae1 100644 --- a/rubocop.yml +++ b/rubocop.yml @@ -139,6 +139,8 @@ Layout/ArrayAlignment: Layout/HashAlignment: Enabled: True + EnforcedHashRocketStyle: [key, table] + EnforcedColonStyle: [key, table] Layout/ParameterAlignment: Enabled: True