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

How to stop break line in function with argument and callback? #1137

Closed
ghost opened this issue Dec 15, 2019 · 2 comments
Closed

How to stop break line in function with argument and callback? #1137

ghost opened this issue Dec 15, 2019 · 2 comments
Labels
locked Please open a new issue and fill out the template instead of commenting.

Comments

@ghost
Copy link

ghost commented Dec 15, 2019

Problem

If I code like this,

MongoClient.connect(connectionURL, { userNewUrlParse: true }, (error, client) => {
-----
});

it would prettier like this.

MongoClient.connect(
  connectionURL,
  { userNewUrlParse: true },
  (error, client) => {
-----
  }
);
----
});

I'd like to not work prettier only this part.
Every features except this is great and satisfying.

What I've tried

Nothing, because I have found this issue.
#352

well, is this issue closed with unsolved..?

Conclusion

Any help is appreciated.

@ntotten
Copy link
Member

ntotten commented Dec 15, 2019

This is an issue or feature request for the Prettier library itself rather than the VS Code extension for prettier. Please open an issue at https://github.com/prettier/prettier.

@ntotten ntotten closed this as completed Dec 15, 2019
@github-actions
Copy link

This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

@github-actions github-actions bot added the locked Please open a new issue and fill out the template instead of commenting. label Apr 12, 2020
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Apr 12, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
locked Please open a new issue and fill out the template instead of commenting.
Projects
None yet
Development

No branches or pull requests

1 participant