From 4eacdf8013b9eea6d3bb7ed0010085f84d870389 Mon Sep 17 00:00:00 2001 From: lorenzo farnararo Date: Sat, 24 Aug 2024 14:47:34 +0200 Subject: [PATCH] fix rubocop --- .rubocop.yml | 2 +- .rubocop_todo.yml | 8 +------- 2 files changed, 2 insertions(+), 8 deletions(-) diff --git a/.rubocop.yml b/.rubocop.yml index 009de3e..3775d58 100644 --- a/.rubocop.yml +++ b/.rubocop.yml @@ -25,7 +25,7 @@ Layout/LineLength: - config/initializers/devise.rb Metrics/MethodLength: - Max: 35 + Max: 50 Exclude: - db/migrate/* diff --git a/.rubocop_todo.yml b/.rubocop_todo.yml index c9be8b5..92d338e 100644 --- a/.rubocop_todo.yml +++ b/.rubocop_todo.yml @@ -1,6 +1,6 @@ # This configuration was generated by # `rubocop --auto-gen-config` -# on 2024-08-24 12:41:44 UTC using RuboCop version 1.65.1. +# on 2024-08-24 12:47:20 UTC using RuboCop version 1.65.1. # The point is for the user to remove these configuration records # one by one as the offenses are removed from the code base. # Note that changes in the inspected code, or installation of new @@ -11,12 +11,6 @@ Metrics/CyclomaticComplexity: Max: 11 -# Offense count: 1 -# Configuration parameters: CountComments, Max, CountAsOne, AllowedMethods, AllowedPatterns. -Metrics/MethodLength: - Exclude: - - 'app/controllers/members_controller.rb' - # Offense count: 2 # Configuration parameters: AllowedMethods, AllowedPatterns. Metrics/PerceivedComplexity: