diff --git a/rubocop.yml b/rubocop.yml index d6aeeec0..7d6348be 100644 --- a/rubocop.yml +++ b/rubocop.yml @@ -484,6 +484,9 @@ Style/HashExcept: Style/HashLikeCase: Enabled: false +Style/HashSyntax: + EnforcedShorthandSyntax: either + Style/HashTransformKeys: Enabled: false diff --git a/test/fixtures/full_config.yml b/test/fixtures/full_config.yml index 5dd2ca9d..04a24f04 100644 --- a/test/fixtures/full_config.yml +++ b/test/fixtures/full_config.yml @@ -2718,7 +2718,7 @@ Style/HashSyntax: - hash_rockets - no_mixed_keys - ruby19_no_mixed_keys - EnforcedShorthandSyntax: always + EnforcedShorthandSyntax: either SupportedShorthandSyntax: - always - never