config/style.yml in rubocop-govuk-4.15.0 vs config/style.yml in rubocop-govuk-4.16.0
- old
+ new
@@ -151,5 +151,12 @@
# of this class in place of Date or Time is confusing.
#
# https://rubystyle.guide/#no-datetime
Style/DateTime:
Enabled: true
+
+# This rule conflicts with Style/BlockDelimiters.
+# Style/MultilineBlockChain says use do...end instead of {...} for multi-line blocks,
+# but Style/BlockDelimiters says use {...} instead of do...end when chaining.
+# The latter should take priority over the former, because it leads to more readable code.
+Style/MultilineBlockChain:
+ Enabled: false