From 3840d7145c00d19003572c76a2456649fc96fcf1 Mon Sep 17 00:00:00 2001 From: Mike McQuaid Date: Thu, 7 Mar 2024 15:41:24 +0000 Subject: [PATCH] rubocop: default hash syntax. As-of 3.1: this mean that you omit the hash value if the name is the same as the key. We're allowing this already and it didn't make sense to land until the bulk of the other RuboCop 3.1 changes did but, now we're ready, it is more concise and a pattern that people will need to understand anyway. --- Library/.rubocop.yml | 3 --- 1 file changed, 3 deletions(-) diff --git a/Library/.rubocop.yml b/Library/.rubocop.yml index eb3ee74832..3b98089c10 100644 --- a/Library/.rubocop.yml +++ b/Library/.rubocop.yml @@ -366,9 +366,6 @@ Style/HashAsLastArrayItem: - "/**/Formula/**/*.rb" - "**/Formula/**/*.rb" -Style/HashSyntax: - EnforcedShorthandSyntax: either - Style/InverseMethods: InverseMethods: :blank?: :present?