Rubocop rule: Disable too-modern ones
This commit is contained in:
parent
5c21fc980f
commit
f226343233
|
@ -1,6 +1,8 @@
|
|||
inherit_from: .rubocop_todo.yml
|
||||
|
||||
AllCops:
|
||||
DisplayCopNames: true
|
||||
DisplayStyleGuide: true
|
||||
Exclude:
|
||||
- 'vendor/**/*'
|
||||
- 'gemfiles/**/*'
|
||||
|
@ -59,3 +61,9 @@ Style/RegexpLiteral:
|
|||
Style/MutableConstant:
|
||||
Enabled: false
|
||||
|
||||
# "Use idx.positive? instead of idx > 0."
|
||||
Style/NumericPredicate:
|
||||
Enabled: false
|
||||
|
||||
Style/SafeNavigation:
|
||||
Enabled: false
|
Loading…
Reference in New Issue
Block a user