Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ES7 async / await #129

Closed
Xiot opened this issue Feb 24, 2015 · 2 comments
Closed

ES7 async / await #129

Xiot opened this issue Feb 24, 2015 · 2 comments

Comments

@Xiot
Copy link

Xiot commented Feb 24, 2015

I am currently using babel to transpile my code so that I can use the fancy new es6/7 features.
One thing that I noticed was that formatting in Sublime Text 3 puts a newline after the async keyword which breaks the build.

async function(){
}

becomes

async
function(){
}

Is there anyway to control the line breaks specifically for the async keyword?

@Xiot
Copy link
Author

Xiot commented Mar 16, 2015

I submitted a PR for this on beautifier/js-beautify#630 which in going to be included in the 1.6.0 milestone

@jdavisclark
Copy link
Owner

@Xiot looks like 1.6.2 just landed, will try and get js-beautify upgraded here soon.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants