-
Notifications
You must be signed in to change notification settings - Fork 59
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
does not support async functions #109
Comments
ES6 support in esformatter is currently a bit lacking. As ES6 support improves in esformatter, standard-format will inherit those fixes. |
+1 for async/await support |
Any updates on this one? |
same |
Maybe you could switch to eslint for auto formatting? |
Standart-format works fine with async functions. For quick fix, just comment this line |
That dependency issue just got fixed btw. Current master now works for formatting. The linter however is still borked which prevents the formatter from working |
@cyberwombat How is the linter borked? You should be using |
Also -- it may interest the folks who are following this issue to know that standard v8 is shipping with a new Give it a shot!
|
@feross I mean the linter has not caught up. I am using sublimelinter-contrib-standard - I tried using another linter but the formatter and the other linters never seemed to agree on what is correct - . This linter does however it still marks async/await as invalid though the formatter has no issue with it anymore. Because the formatter fails on the async/await its a bit hard to lint and format. I will try your suggestions. |
You should use |
@feross Pro tip: remove issues section |
can't format my babel code because async functions are not supported :(
The text was updated successfully, but these errors were encountered: