From ace3df932a898396f6fb612f0c82a207d4bb8302 Mon Sep 17 00:00:00 2001 From: Andreas Nedbal Date: Sun, 15 Oct 2023 10:09:49 +0200 Subject: [PATCH] Disable `Metrics/*Length` and `AbcSize` cops --- .rubocop.yml | 24 +++++------------------- 1 file changed, 5 insertions(+), 19 deletions(-) diff --git a/.rubocop.yml b/.rubocop.yml index ed74d1c9..41696d20 100644 --- a/.rubocop.yml +++ b/.rubocop.yml @@ -31,39 +31,25 @@ Lint/NestedMethodDefinition: ### Metrics Metrics/AbcSize: - Max: 20 - Exclude: - - 'db/**/*' + Enabled: false Layout/LineLength: Enabled: false Metrics/MethodLength: - Max: 15 - Exclude: - - 'db/migrate/*.rb' + Enabled: false Metrics/BlockLength: - Exclude: - - '*.gemspec' - - '**/*.rake' - - 'api/**/*' - - 'app/api/routes.rb' - - 'config/initialize/**/*' - - 'config/initializers/**/*' - - 'spec/**/*' + Enabled: false Metrics/ClassLength: - Exclude: - - spec/**/* + Enabled: false Metrics/CyclomaticComplexity: Severity: refactor Metrics/ModuleLength: - Exclude: - - 'app/api/routes.rb' - - 'spec/requests/**/*' + Enabled: false ### Style / Layout