config/upstream.yml in cookstyle-7.30.1 vs config/upstream.yml in cookstyle-7.30.3
- old
+ new
@@ -2494,10 +2494,11 @@
VersionAdded: '1.24'
EnforcedStyle: anonymous
SupportedStyles:
- anonymous
- explicit
+ BlockForwardingName: block
Naming/BlockParameterName:
Description: >-
Checks for block parameter names that contain capital letters,
end in numbers, or do not meet a minimal length.
@@ -3696,9 +3697,11 @@
SupportedShorthandSyntax:
# forces use of the 3.1 syntax (e.g. {foo:}) when the hash key and value are the same.
- always
# forces use of explicit hash literal value.
- never
+ # accepts both shorthand and explicit use of hash literal value.
+ - either
# Force hashes that have a symbol value to use hash rockets
UseHashRocketsWithSymbolValues: false
# Do not suggest { a?: 1 } over { :a? => 1 } in ruby19 style
PreferHashRocketsForNonAlnumEndingSymbols: false