diff --git a/.rubocop.yml b/.rubocop.yml index baee4f40..db1ee790 100644 --- a/.rubocop.yml +++ b/.rubocop.yml @@ -1,6 +1,6 @@ AllCops: DisabledByDefault: true - TargetRubyVersion: 2.5 + TargetRubyVersion: 2.7 Exclude: # template files named `rb` instead of `erb` are a sin against ruby-nature. - '**/templates/**/*.rb'# @@ -1260,8 +1260,9 @@ Style/SingleLineBlockParams: Style/SingleLineMethods: Enabled: true +# TODO ratchet in a separate diff Style/SlicingWithRange: - Enabled: true + Enabled: false # TODO re-evaluate after chef-workstation upgrade Style/SoleNestedConditional: