max-mapper / standard-format

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

Space before/after function curly brackets { } #146

Closed mathiasvr closed 7 years ago

mathiasvr commented 8 years ago

The formatter does not correct this syntax:

function a () {return 1}

by adding spaces to form the accepted version:

function a () { return 1 }
feross commented 7 years ago

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