From 6d7ef5c94d1488af72f5e4910e23f0839914ec5f Mon Sep 17 00:00:00 2001 From: Issy Long Date: Sun, 13 Oct 2019 09:57:10 +0100 Subject: [PATCH] Bump the Rubocop `TargetRubyVersion` parameter now we're using 2.6.3 - This was set to 2.3 because Homebrew was running Ruby 2.3.7. Since https://github.com/Homebrew/brew/pull/6556, we're running 2.6.3. With this change, Rubocop will check against modern Ruby syntax. --- Library/.rubocop_shared.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Library/.rubocop_shared.yml b/Library/.rubocop_shared.yml index 96f1589029..d3e4f49bde 100644 --- a/Library/.rubocop_shared.yml +++ b/Library/.rubocop_shared.yml @@ -3,7 +3,7 @@ require: ./Homebrew/rubocops.rb AllCops: - TargetRubyVersion: 2.3 + TargetRubyVersion: 2.6 DisplayCopNames: false # Use `<<~` for heredocs.