max-mapper / standard-format

converts your code into Standard JavaScript Format
264 stars 59 forks source link

semicolon at end of string literal incorrectly removed #162

Closed mvilrokx closed 7 years ago

mvilrokx commented 8 years ago

I have a ES6 Template Literal that ends with a semicolon (;) and a carriage return:

    overrides = `${overrides}  ${override}: ${cssProperties[override]};
`

When running standard-format it incorrectly removes the ; from the Template Literal.

feross commented 7 years ago

You should use standard --fix instead of this package. standard-format isn't being actively maintained anymore.