-
Notifications
You must be signed in to change notification settings - Fork 1.4k
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
space_after_anon_function doesn't work with anon async functions #1034
Comments
Kinda related, but not really. Functionally, this is an anonymous function so it should still be treated as such. I'd say this is more of a bug, whereas #608 is definitely a new feature (with a new setting to go with it. |
I like ESLint's "space-before-function-paren" which covers all these (anon, named, anon async, named async) under one setting. Thoughts? |
@laggingreflex - seems reasonable. We could use your help with this if you have the time. |
@bitwiseman any progress? Related: HookyQR/VSCodeBeautify#129 |
I ran this in v1.8.6 and it appears to force a space between "async" and the following parens as default. @laggingreflex and @xueqingxiao, please feel free to review this and let me know if you disagree. In the meantime, I'm going to mark this as resolved. |
Expected:
#608 related?
The text was updated successfully, but these errors were encountered: