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

Defualt formatting prompt 'Missing space before function parentheses. (space-before-function-paren)' error #61

Closed
qiansen1386 opened this issue May 31, 2018 · 5 comments

Comments

@qiansen1386
Copy link

  • StandardJS version?1.2
  • VSCode version?1.23.1
  • StandardJS configuration? default
  • What do you have in the OUTPUT panel?nothing wrong.
    image
    image
@chenxsan
Copy link
Member

The latest standardJS version is 11.0.1

@qiansen1386
Copy link
Author

@chenxsan So sorry, I thought it's the version of the extension. The version of npm package is [email protected].

@chenxsan
Copy link
Member

chenxsan commented Jun 1, 2018

Do you mean after you run this command:
image

You're still getting the problem? I've tested in my vscode, everything looks fine.

image

@qiansen1386
Copy link
Author

Oh, I see, I was running the default formatting command, instead of your one.
I thought VS code can use StandarJS as default foramatter. Is there a way for us to config this command as default formatting behavior?

@chenxsan
Copy link
Member

chenxsan commented Jun 1, 2018

No, there's no way at this time. Releated issue here #9

@chenxsan chenxsan closed this as completed Jun 1, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Archived in project
Development

No branches or pull requests

2 participants