We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Hello!
I have this piece of code:
f(() => f2({ a: 1, }))
and it gets formatted into something like
f(() => f2({ a: 1, }) );
but I don't like that line break after =>. Is there a way to discourage dprint from adding it? I'd like to see something like
=>
f(() => f2({ a: 1, })); // (no changes)
or
f( () => f2({ a: 1, }) ) // (arrow function on a new line but no break after =>)
Here's a playground link: https://dprint.dev/playground/#code/GYChEoAIF4D5OAJhAbwFCU5AhgLkgIxoC+44QA/language/typescript
Thank you!
The text was updated successfully, but these errors were encountered:
Please raise this issue in the dprint-plugin-typescript repo
Sorry, something went wrong.
No branches or pull requests
Hello!
I have this piece of code:
and it gets formatted into something like
but I don't like that line break after
=>
.Is there a way to discourage dprint from adding it?
I'd like to see something like
or
Here's a playground link: https://dprint.dev/playground/#code/GYChEoAIF4D5OAJhAbwFCU5AhgLkgIxoC+44QA/language/typescript
Thank you!
The text was updated successfully, but these errors were encountered: