max-mapper / standard-format

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

excessive spaces not removed in object declaration #151

Closed notslang closed 7 years ago

notslang commented 8 years ago

This input:

var a = { "this": this
  , file: file
  , pattern: pattern }

...becomes:

var a = { 'this': this,   file: file,   pattern: pattern }

(notice the extra spaces after the commas)

feross commented 7 years ago

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