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:
parent
3802d113ae
commit
3840d7145c
@ -366,9 +366,6 @@ Style/HashAsLastArrayItem:
|
||||
- "/**/Formula/**/*.rb"
|
||||
- "**/Formula/**/*.rb"
|
||||
|
||||
Style/HashSyntax:
|
||||
EnforcedShorthandSyntax: either
|
||||
|
||||
Style/InverseMethods:
|
||||
InverseMethods:
|
||||
:blank?: :present?
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user