Rubocop rule: Disable too-modern ones
This commit is contained in:
parent
5c21fc980f
commit
f226343233
10
.rubocop.yml
10
.rubocop.yml
|
@ -1,6 +1,8 @@
|
||||||
inherit_from: .rubocop_todo.yml
|
inherit_from: .rubocop_todo.yml
|
||||||
|
|
||||||
AllCops:
|
AllCops:
|
||||||
|
DisplayCopNames: true
|
||||||
|
DisplayStyleGuide: true
|
||||||
Exclude:
|
Exclude:
|
||||||
- 'vendor/**/*'
|
- 'vendor/**/*'
|
||||||
- 'gemfiles/**/*'
|
- 'gemfiles/**/*'
|
||||||
|
@ -58,4 +60,10 @@ Style/RegexpLiteral:
|
||||||
|
|
||||||
Style/MutableConstant:
|
Style/MutableConstant:
|
||||||
Enabled: false
|
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