From fddc9e08eb22e84d00ad34e921fe11a7d866c785 Mon Sep 17 00:00:00 2001 From: David Crosby Date: Tue, 19 Nov 2024 11:05:48 -0800 Subject: [PATCH] Use Ruby 2.7 as a minimum version Summary: We now consider Ruby 2.7 the minimum supported version. Differential Revision: D65913794 fbshipit-source-id: 12c8704324cc75cd114eb18ee532ca42e03dc0fc --- .rubocop.yml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) 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: