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.
This commit is contained in:
Mike McQuaid 2024-03-07 15:41:24 +00:00
parent 3802d113ae
commit 3840d7145c
No known key found for this signature in database

View File

@ -366,9 +366,6 @@ Style/HashAsLastArrayItem:
- "/**/Formula/**/*.rb"
- "**/Formula/**/*.rb"
Style/HashSyntax:
EnforcedShorthandSyntax: either
Style/InverseMethods:
InverseMethods:
:blank?: :present?