max-mapper / standard-format

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

Not adding a space where required #167

Closed matthewadams closed 7 years ago

matthewadams commented 8 years ago

Steps to repro:

$ echo "var x = {a:1,b:2}" > x.js
$ standard-format x.js
var x = {a: 1,b: 2}

The output should be var x = {a: 1, b: 2}, where there's a space between the , & b.

feross commented 7 years ago

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