From 0a2760925bc7891bd6a1288d728bd87f44860d1d Mon Sep 17 00:00:00 2001 From: Michael Ball Date: Wed, 8 May 2024 10:55:30 +0200 Subject: [PATCH] Update .rubocop.yml --- .rubocop.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.rubocop.yml b/.rubocop.yml index a79ba115..5f454123 100644 --- a/.rubocop.yml +++ b/.rubocop.yml @@ -95,7 +95,8 @@ Layout/EmptyLinesAroundModuleBody: # Use Ruby >= 1.9 syntax for hashes. Prefer { a: :b } over { :a => :b }. Style/HashSyntax: Enabled: true - EnforcedShorthandSyntax: never + # TODO: This is not preferred, but was followed and undoing it is more annoying... + EnforcedShorthandSyntax: always # TODO: Enable this after upgrading rubocop, consistent would be preferred over never # EnforcedShorthandSyntax: consistent