Merge pull request #1441 from neilhalligan/rubocop-edit
Add Lint/DuplicatedKey to rubocop
This commit is contained in:
commit
5f74360da8
1 changed files with 4 additions and 0 deletions
|
|
@ -162,6 +162,10 @@ Lint/UselessAssignment:
|
||||||
Lint/Void:
|
Lint/Void:
|
||||||
Enabled: true
|
Enabled: true
|
||||||
|
|
||||||
|
# Do not use duplicated keys in hash literals.
|
||||||
|
Lint/DuplicatedKey:
|
||||||
|
Enabled: true
|
||||||
|
|
||||||
#################### Rails ###############################
|
#################### Rails ###############################
|
||||||
|
|
||||||
# Enforce Rails specific style
|
# Enforce Rails specific style
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue