1
0
mirror of https://github.com/meineerde/redmine.git synced 2026-02-01 03:57:15 +00:00

Disable RuboCop Style/NumericPredicate (#39887).

git-svn-id: https://svn.redmine.org/redmine/trunk@22861 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
Go MAEDA 2024-06-06 00:53:06 +00:00
parent f9eb77227a
commit 8e7dce288b
2 changed files with 3 additions and 6 deletions

View File

@ -245,6 +245,9 @@ Style/InverseMethods:
Style/NegatedIfElseCondition:
Enabled: false
Style/NumericPredicate:
Enabled: false
Style/RaiseArgs:
Enabled: false

View File

@ -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: