Rubocop rule: Disable too-modern ones

This commit is contained in:
Olle Jonsson 2016-09-22 19:16:00 +02:00
parent 5c21fc980f
commit f226343233

View File

@ -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/**/*'
@ -59,3 +61,9 @@ 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