Closed 2c2c closed 7 years ago
Is this bug taken cared of yet?
For the case above, after adding the space manually after function ( function*
-> function *
), it happens that standard-format would revert it back to the wrong form triggering generator-star-spacing error.
Thanks.
This is a probably still an issue (I haven't confirmed). If someone would like to work on it, you'll need to see if esformatter has a rule for this and change the config.
Folks who send good PRs get added as collaborators to the repo :)
I can confirm that in blocks like below, catch doesn't get an extra space between ch
and (
try {
// bla bla
} catch(err) {
// foo faa
}
(ps. great tool! thanks!)
You should use standard --fix
instead of this package. standard-format
isn't being actively maintained anymore.
standard-formatter will only correct the generator inside the co() call
sidenote: no space > space in terms of appearance :-1: