From 527675c0d9c76d12fe6eeefb2dfe84a72eef7796 Mon Sep 17 00:00:00 2001 From: Sam Bostock Date: Thu, 26 Jan 2023 15:18:55 -0500 Subject: [PATCH] Ignore lines made long by cop directive comments --- rubocop.yml | 1 - test/fixtures/full_config.yml | 2 +- 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/rubocop.yml b/rubocop.yml index af1a7936..d3d6f2c2 100644 --- a/rubocop.yml +++ b/rubocop.yml @@ -64,7 +64,6 @@ Layout/LineEndStringConcatenationIndentation: EnforcedStyle: indented Layout/LineLength: - IgnoreCopDirectives: false AllowedPatterns: - "\\A\\s*(remote_)?test(_\\w+)?\\s.*(do|->)(\\s|\\Z)" diff --git a/test/fixtures/full_config.yml b/test/fixtures/full_config.yml index 70efcad0..8e222f0c 100644 --- a/test/fixtures/full_config.yml +++ b/test/fixtures/full_config.yml @@ -714,7 +714,7 @@ Layout/LineLength: URISchemes: - http - https - IgnoreCopDirectives: false + IgnoreCopDirectives: true AllowedPatterns: - "\\A\\s*(remote_)?test(_\\w+)?\\s.*(do|->)(\\s|\\Z)" IgnoredPatterns: []