From 07ac381a97ccdd8667eca650a5bbdc55187d032b Mon Sep 17 00:00:00 2001 From: Maikel Linke Date: Thu, 21 Sep 2023 09:19:21 +1000 Subject: [PATCH] Ignore block length of response blocks In Rswag request specs, the `response` block is like `describe` and is just used to group several other blocks. It can be long and that's okay. --- .rubocop_styleguide.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.rubocop_styleguide.yml b/.rubocop_styleguide.yml index a6a2fab4f4..5459d63ebc 100644 --- a/.rubocop_styleguide.yml +++ b/.rubocop_styleguide.yml @@ -39,6 +39,7 @@ Metrics/BlockLength: "put", "resource", "resources", + "response", "scenario", "shared_examples", "shared_examples_for",