Disable Style/HashAsLastArrayItem
cop (#30041)
This commit is contained in:
parent
0e585b9a52
commit
b903e6909e
2 changed files with 5 additions and 13 deletions
|
@ -182,6 +182,11 @@ Style/FormatStringToken:
|
|||
AllowedMethods:
|
||||
- redirect_with_vary
|
||||
|
||||
# Reason: Prevailing style choice
|
||||
# https://docs.rubocop.org/rubocop/cops_style.html#stylehashaslastarrayitem
|
||||
Style/HashAsLastArrayItem:
|
||||
Enabled: false
|
||||
|
||||
# Reason: Enforce modern Ruby style
|
||||
# https://docs.rubocop.org/rubocop/cops_style.html#stylehashsyntax
|
||||
Style/HashSyntax:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue