Closed JeffML closed 7 years ago
Nothing to do with my package. I don't merge lines. Maybe another package such as atom beutify.
Sent from my Windows Phone
From: Jeff Lowerymailto:notifications@github.com Sent: 24/04/2017 01:24 To: gandm/language-babelmailto:language-babel@noreply.github.com Cc: Subscribedmailto:subscribed@noreply.github.com Subject: [gandm/language-babel] Preserve line breaks? (#355)
this packages seems to want to push chained functions onto one line:
f("foo") .then(result) .then(data) .catch(e => {console.error(e)})
becomes: f("foo").then(result).then(data).catch(...
I hate that. Can I turn that off with "Preserve Line Breaks" or something?
— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHubhttps://github.com/gandm/language-babel/issues/355, or mute the threadhttps://github.com/notifications/unsubscribe-auth/ACNMFWkmDwiYW6DtJGgxV4VLCCEwA8E8ks5ry-vEgaJpZM4NFltu.
I know that prettier does that type of formatting.
It was atom-beautify that was doing it, thanks for the info.
this packages seems to want to push chained functions onto one line:
becomes:
f("foo").then(result={...}).then(data => {...}).catch(...
I hate that. Can I turn that off with "Preserve Line Breaks" or something?