Skip to content

Commit

Permalink
disable Style/NumericPredicate rule
Browse files Browse the repository at this point in the history
Numeric#positive? and Numeric#negative? were added in Ruby 2.3, and
therefore cannot be used until support for < 2.3 is dropped
  • Loading branch information
stve committed Feb 15, 2017
1 parent 2a40843 commit 0e5e498
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .rubocop.yml
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,9 @@ Style/DoubleNegation:
Style/FrozenStringLiteralComment:
Enabled: false

Style/NumericPredicate:
Enabled: false

Style/SpaceInsideHashLiteralBraces:
EnforcedStyle: no_space

Expand Down

0 comments on commit 0e5e498

Please sign in to comment.