From c11a07db5bf1cf874e1885078a257e8d75babbcd Mon Sep 17 00:00:00 2001 From: Issy Long Date: Thu, 22 Feb 2024 23:57:31 +0000 Subject: [PATCH] Alphabetize `Style/HashSyntax` RuboCop rule and keep it the same --- Library/.rubocop.yml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/Library/.rubocop.yml b/Library/.rubocop.yml index ef81867e2a..68bbb1b0dc 100644 --- a/Library/.rubocop.yml +++ b/Library/.rubocop.yml @@ -358,6 +358,9 @@ Style/HashAsLastArrayItem: - "/**/Formula/**/*.rb" - "**/Formula/**/*.rb" +Style/HashSyntax: + EnforcedShorthandSyntax: either + Style/InverseMethods: InverseMethods: :blank?: :present? @@ -466,5 +469,3 @@ Naming/BlockForwarding: Enabled: false Style/ArgumentsForwarding: Enabled: false -Style/HashSyntax: - EnforcedShorthandSyntax: either