Add Lint/DuplicatedKey to rubocop

Fixes openSUSE/osem#1437
This commit is contained in:
Neil Halligan 2017-04-05 17:33:14 +01:00
parent 6ea0752ef7
commit c74e914683

View file

@ -158,6 +158,10 @@ Lint/UselessAssignment:
Lint/Void:
Enabled: true
# Do not use duplicated keys in hash literals.
Lint/DuplicatedKey:
Enabled: true
#################### Rails ###############################
# Enforce Rails specific style