From 0e5e4980934eb02470b482e9c41d424ae39a2196 Mon Sep 17 00:00:00 2001 From: stve Date: Wed, 15 Feb 2017 09:40:37 -0500 Subject: [PATCH] disable Style/NumericPredicate rule Numeric#positive? and Numeric#negative? were added in Ruby 2.3, and therefore cannot be used until support for < 2.3 is dropped --- .rubocop.yml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.rubocop.yml b/.rubocop.yml index 5c94b71d1..4348d453e 100644 --- a/.rubocop.yml +++ b/.rubocop.yml @@ -42,6 +42,9 @@ Style/DoubleNegation: Style/FrozenStringLiteralComment: Enabled: false +Style/NumericPredicate: + Enabled: false + Style/SpaceInsideHashLiteralBraces: EnforcedStyle: no_space