From 64dc3a298192ab938d17efb5ba4fbeb89718ef9b Mon Sep 17 00:00:00 2001 From: Geremia Taglialatela Date: Mon, 22 Apr 2024 10:04:30 +0200 Subject: [PATCH] Ignore class length of client --- .rubocop.yml | 4 ++++ .rubocop_todo.yml | 4 ---- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/.rubocop.yml b/.rubocop.yml index 2cf0402..2d0743c 100644 --- a/.rubocop.yml +++ b/.rubocop.yml @@ -24,6 +24,10 @@ AllCops: Layout/LineLength: Enabled: false +Metrics/ClassLength: + Exclude: + - lib/sharepoint/client.rb + Rails/TimeZone: Enabled: false diff --git a/.rubocop_todo.yml b/.rubocop_todo.yml index afe8568..2c40268 100644 --- a/.rubocop_todo.yml +++ b/.rubocop_todo.yml @@ -34,10 +34,6 @@ Lint/UselessAssignment: Metrics/AbcSize: Max: 42 -# Configuration parameters: CountComments, CountAsOne. -Metrics/ClassLength: - Max: 521 - # Configuration parameters: CountComments, CountAsOne, AllowedMethods, AllowedPatterns. Metrics/MethodLength: Max: 31