From e7beca57e517cff30f45b752508108a62f0f8a38 Mon Sep 17 00:00:00 2001 From: Michalis Zamparas Date: Tue, 9 Jan 2024 18:03:24 +0200 Subject: [PATCH] Rename rubocop rule from IgnoredMethods to AllowedMethods --- .rubocop.yml | 2 +- spec/.rubocop.yml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.rubocop.yml b/.rubocop.yml index 19e9d9c..e8063e6 100644 --- a/.rubocop.yml +++ b/.rubocop.yml @@ -11,7 +11,7 @@ Metrics/MethodLength: Max: 15 Metrics/BlockLength: - IgnoredMethods: + AllowedMethods: - class_methods Style/Documentation: diff --git a/spec/.rubocop.yml b/spec/.rubocop.yml index d5bf9b9..7631f55 100644 --- a/spec/.rubocop.yml +++ b/spec/.rubocop.yml @@ -3,7 +3,7 @@ inherit_from: ../.rubocop.yml require: rubocop-rspec Metrics/BlockLength: - IgnoredMethods: ['describe', 'context'] + AllowedMethods: ['describe', 'context'] Style/NumericLiterals: Enabled: false