Open joscha opened 2 years ago
FWIW I feel like this won't turn out well for people who have dprint on an on-save handler; if I'm in the middle of typing a template literal and I save (usually out of muscle memory, or, an auto-save after a timeout), then it'd be annoying to have to redo my template literal again to be able to use it.
Obviously template literals have advantages in terms of interpolation, escaping and newline handling, however we want to encourage use of template literals only for strings that are making use of these features, not for ones that are just plain old strings. E.g.:
should actually be:
with
"quoteStyle": "preferSingle"
Exceptions:
references https://github.com/dprint/dprint-plugin-typescript/issues/345