From 7ff779b71c58a0fbd115530b4b36f7769ce323a5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Gorka=20L=C3=B3pez=20de=20Torre?= Date: Thu, 6 Jun 2024 11:54:28 +0200 Subject: [PATCH] Exclude rswag tests from Rails/HttpPositionalArguments --- default.yml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/default.yml b/default.yml index 5582f25..b457e50 100644 --- a/default.yml +++ b/default.yml @@ -34,6 +34,11 @@ Rails/ContentTag: Rails/FilePath: EnforcedStyle: "arguments" +# Exclude rswag specs from this cop, as it missinterprets test tags +Rails/HttpPositionalArguments: + Exclude: + - '**/spec/api/**/*' + # Prefer assert_not_x over refute_x Rails/RefuteMethods: Include: