There can be something else than ExpressionStatement so check if it's not a BlockStatement which force braces.
There can be something else than ExpressionStatement so check if it's not a BlockStatement which force braces.

pgilad/esformatter-braces