From: Tim Smith Date: Thu, 16 Jul 2020 05:44:17 +0000 (-0700) Subject: Avoid warning running cookstyle due to Layout/HeredocIndentation X-Git-Url: https://git.openstreetmap.org./chef.git/commitdiff_plain/c2e918f7489d4d5e21ef8a30cf7b4a44a3121170 Avoid warning running cookstyle due to Layout/HeredocIndentation When Ruby 2.3 support was dropped in RuboCop they changed the Layout/HeredocIndentation to only support squiggly so setting this just causes it to warn. Just enable it instead. See https://github.com/rubocop-hq/rubocop/pull/8056 Signed-off-by: Tim Smith --- diff --git a/.rubocop.yml b/.rubocop.yml index d7fa0e5f7..649fc64dc 100644 --- a/.rubocop.yml +++ b/.rubocop.yml @@ -10,7 +10,7 @@ Layout/ExtraSpacing: AllowForAlignment: true Layout/HeredocIndentation: - EnforcedStyle: squiggly + Enabled: true Naming/MethodParameterName: Enabled: false