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

Missing space before function parentheses. + VS + {Alt+shift+F} #111

Closed
noxcionum opened this issue Dec 29, 2020 · 1 comment
Closed

Missing space before function parentheses. + VS + {Alt+shift+F} #111

noxcionum opened this issue Dec 29, 2020 · 1 comment

Comments

@noxcionum
Copy link

What version of this package are you using?
latest

What operating system, Node.js, and npm version?
WINServer 2016 [email protected]

What happened?
When I use (Alt+shift+F), then i get code without space and ts-standard show me error
image

What did you expect to happen?

Are you willing to submit a pull request to fix this bug?

@theoludwig
Copy link
Contributor

ts-standard is not related to VSCode, it is only a npm package but it can be used with vscode-standardjs extension.
Maybe you have prettier installed and it auto-formats without the space, we'd like to integrate prettier built-in, it is currently a work in progress, you can see our discussions in #102.
Also there is also a open pull request to implement it in standard-engine : standard/standard-engine#230

To fix this issue you could write something like that :

function updateStatusPDFOK () {
  return StatusPDFOK
}

@noxcionum

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