-
Couldn't load subscription status.
- Fork 7
Open
Description
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!
Metadata
Metadata
Assignees
Labels
No labels