config/default.yml in rubocop-1.33.0 vs config/default.yml in rubocop-1.34.0
- old
+ new
@@ -1602,10 +1602,11 @@
DebuggerMethods:
# Groups are available so that a specific group can be disabled in
# a user's configuration, but are otherwise not significant.
Kernel:
- binding.irb
+ - Kernel.binding.irb
Byebug:
- byebug
- remote_byebug
- Kernel.byebug
- Kernel.remote_byebug
@@ -1619,10 +1620,13 @@
- Kernel.binding.break
Pry:
- binding.pry
- binding.remote_pry
- binding.pry_remote
+ - Kernel.binding.pry
+ - Kernel.binding.remote_pry
+ - Kernel.binding.pry_remote
- Pry.rescue
Rails:
- debugger
- Kernel.debugger
RubyJard:
@@ -1751,13 +1755,14 @@
AllowComments: false
Lint/EmptyConditionalBody:
Description: 'Checks for the presence of `if`, `elsif` and `unless` branches without a body.'
Enabled: true
+ SafeAutoCorrect: false
AllowComments: true
VersionAdded: '0.89'
- VersionChanged: '1.33'
+ VersionChanged: '1.34'
Lint/EmptyEnsure:
Description: 'Checks for empty ensure block.'
Enabled: true
VersionAdded: '0.10'
@@ -4398,9 +4403,10 @@
VersionChanged: '0.48'
MinDigits: 5
Strict: false
# You can specify allowed numbers. (e.g. port number 3000, 8080, and etc)
AllowedNumbers: []
+ AllowedPatterns: []
Style/NumericPredicate:
Description: >-
Checks for the use of predicate- or comparison methods for
numeric comparisons.