1
0
Fork 0
mirror of https://github.com/pry/pry.git synced 2022-11-09 12:35:05 -05:00

rubocop: disable the Style/NumericPredicate cop

This is very opinionated and not necessary to follow.
This commit is contained in:
Kyrylo Silin 2018-10-20 00:32:30 +08:00
parent 5f18796595
commit 269808c6ba
2 changed files with 3 additions and 16 deletions

View file

@ -1 +1,4 @@
inherit_from: .rubocop_todo.yml
Style/NumericPredicate:
Enabled: false

View file

@ -1257,22 +1257,6 @@ Style/NumericLiteralPrefix:
- 'spec/history_spec.rb'
- 'spec/pryrc_spec.rb'
# Offense count: 9
# Cop supports --auto-correct.
# Configuration parameters: AutoCorrect, EnforcedStyle, IgnoredMethods.
# SupportedStyles: predicate, comparison
Style/NumericPredicate:
Exclude:
- 'spec/**/*'
- 'lib/pry/command.rb'
- 'lib/pry/commands/code_collector.rb'
- 'lib/pry/commands/gem_list.rb'
- 'lib/pry/commands/gist.rb'
- 'lib/pry/commands/nesting.rb'
- 'lib/pry/history_array.rb'
- 'lib/pry/indent.rb'
- 'lib/pry/testable/evalable.rb'
# Offense count: 31
# Cop supports --auto-correct.
Style/ParallelAssignment: