dprint-plugin-typescript
dprint-plugin-typescript copied to clipboard
Support configuration for inner spacing in template literals
When writing template literals with inner spacing between braces and variable, the format job always removes them:
const text = 'Hello World!';
- const templateLiteral = `${ text }`;
+ const templateLiteral = `${text}`;
It should be possible to configure the inner spacings in template literals.
If there is already an option to change the behaviour I haven't found them.