Pattern: Malformed braces around hash as last array item
Issue: -
Checks for presence or absence of braces around hash literal as a last array item depending on configuration.
# bad
[1, 2, one: 1, two: 2]
# good
[1, 2, { one: 1, two: 2 }]
Pattern: Malformed braces around hash as last array item
Issue: -
Checks for presence or absence of braces around hash literal as a last array item depending on configuration.
# bad
[1, 2, one: 1, two: 2]
# good
[1, 2, { one: 1, two: 2 }]