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