From 8e7dce288ba59b8755fec7c7ff519f98d4005f4d Mon Sep 17 00:00:00 2001 From: Go MAEDA Date: Thu, 6 Jun 2024 00:53:06 +0000 Subject: [PATCH] Disable RuboCop Style/NumericPredicate (#39887). git-svn-id: https://svn.redmine.org/redmine/trunk@22861 e93f8b46-1217-0410-a6f0-8f06a7374b81 --- .rubocop.yml | 3 +++ .rubocop_todo.yml | 6 ------ 2 files changed, 3 insertions(+), 6 deletions(-) diff --git a/.rubocop.yml b/.rubocop.yml index 52c4db3f5..ff1a57bb2 100644 --- a/.rubocop.yml +++ b/.rubocop.yml @@ -245,6 +245,9 @@ Style/InverseMethods: Style/NegatedIfElseCondition: Enabled: false +Style/NumericPredicate: + Enabled: false + Style/RaiseArgs: Enabled: false diff --git a/.rubocop_todo.yml b/.rubocop_todo.yml index 51845adb2..5b4a02137 100644 --- a/.rubocop_todo.yml +++ b/.rubocop_todo.yml @@ -1233,12 +1233,6 @@ Style/NumericLiteralPrefix: Style/NumericLiterals: MinDigits: 9 -# This cop supports unsafe autocorrection (--autocorrect-all). -# Configuration parameters: EnforcedStyle, AllowedMethods, AllowedPatterns. -# SupportedStyles: predicate, comparison -Style/NumericPredicate: - Enabled: false - # Configuration parameters: AllowedMethods. # AllowedMethods: respond_to_missing? Style/OptionalBooleanParameter: