From c0839bb89edbc3e057f1f6a8df46f02e25d0e918 Mon Sep 17 00:00:00 2001 From: Thor77 Date: Mon, 19 Nov 2018 15:25:46 +0100 Subject: [PATCH] Ignore BlockLength for schema, spec and config --- .rubocop.yml | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/.rubocop.yml b/.rubocop.yml index 5d48bb2..8b0fb5f 100644 --- a/.rubocop.yml +++ b/.rubocop.yml @@ -30,3 +30,11 @@ Metrics/AbcSize: Exclude: - "db/migrate/*" Max: 20 + +Metrics/BlockLength: + ExcludedMethods: + - "namespace" + - "create_table" + Exclude: + - "config/**/*.rb" + - "spec/**/*.rb"