From d0d67388bd61d5ca247bc5c9f9c1dee87a713f57 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?David=20Rodr=C3=ADguez?= Date: Fri, 20 Oct 2023 22:36:35 +0200 Subject: [PATCH 1/2] RuboCop can now target Ruby 3 --- .rubocop.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.rubocop.yml b/.rubocop.yml index d88676b0..4ddae6d4 100644 --- a/.rubocop.yml +++ b/.rubocop.yml @@ -1,5 +1,5 @@ AllCops: - TargetRubyVersion: 2.6 + TargetRubyVersion: 3.0 DisabledByDefault: true From 6fef2481885068f462b7c6e4d08226455b54a626 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?David=20Rodr=C3=ADguez?= Date: Fri, 20 Oct 2023 22:36:49 +0200 Subject: [PATCH 2/2] Exclude docs for RuboCop run --- .rubocop.yml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.rubocop.yml b/.rubocop.yml index 4ddae6d4..26858932 100644 --- a/.rubocop.yml +++ b/.rubocop.yml @@ -3,6 +3,9 @@ AllCops: DisabledByDefault: true + Exclude: + - "docs/**/*" + Layout/EmptyLineAfterMagicComment: Enabled: true