From 4bf5da9224ab9c0d493db469e7bbd56fea5c8792 Mon Sep 17 00:00:00 2001 From: Henrik Broselid Date: Tue, 19 Mar 2024 15:48:10 +0100 Subject: [PATCH] Update HashSyntax for rubocop --- rubocop.yml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/rubocop.yml b/rubocop.yml index 378ee12..946a2f8 100644 --- a/rubocop.yml +++ b/rubocop.yml @@ -118,6 +118,11 @@ Style/GlobalVars: - $flipper - $rollout +Style/HashSyntax: + Enabled: true + EnforcedStyle: ruby19 + EnforcedShorthandSyntax: never + # `SomeClass.(some, arguments)` is considered "obscure" by Rubocop. # It is not so obscure enough that we would forbid it, though. Style/LambdaCall: