max-mapper / standard-format

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

correct bracket spacing is removed when returning array element #147

Closed mathiasvr closed 7 years ago

mathiasvr commented 8 years ago

The formatter will turn this accepted syntax:

function a (b) { return b[0] }

into the following incorrect syntax, with the last space removed:

function a (b) { return b[0]}
feross commented 7 years ago

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