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

Support configuration for inner spacing in template literals #578

Open
patrickschroeter opened this issue Nov 17, 2023 · 2 comments
Open
Labels
enhancement New feature or request

Comments

@patrickschroeter
Copy link

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.

@dsherret dsherret added the enhancement New feature or request label Nov 17, 2023
@przemyslaw-zan
Copy link

I would greatly appreciate this being implemented!

@g-plane
Copy link

g-plane commented May 11, 2024

Duplicate of #290

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

4 participants