-
Notifications
You must be signed in to change notification settings - Fork 29.3k
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
Javascript formatter: space-before-function-paren #15386
Comments
@aochsner thank you for opening this issue. The functionality for formatting is provided by TS Server. I will migrate this feature request to their repo. |
This issue was moved to microsoft/TypeScript#12234 |
Does this have a new issue for the vscode side now, @waderyan? Can't seem to find it |
This doesn't seem fixed at all yet the referenced issue(microsoft/TypeScript#12234) and this one is closed. Format still removes space between function name and Using the latest 1.9.0 on macOS. |
same as krokofant, MacOS, 1.9.1 |
Using Vs code 1.12 insider build. Following settings are ignored on format:
|
same as krokofant, MacOS, 1.12.2 |
I am able to fix this by making es-lint auto correct the fixable code:
Eslint is now fully integrated in vscode and everything works great! 👍 |
You guys should open a new issue, it works for me on Win10 and I don't think they watch comments on closed issues (that's why I opened the pull in the first place) |
Thanks @mubaidr. Your settings fixed the problem for me. Version 1.16.1 (windows). |
We use space-before-function-paren in our eslint rules for readability. I'd like an option to format to this behavior
Steps to Reproduce:
function foo () { }
function foo() { }
with no mechanism to overrideThe text was updated successfully, but these errors were encountered: