Skip to content

fix(fmt): fix handling of indent inside template language #29616

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

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

kt3k
Copy link
Member

@kt3k kt3k commented Jun 5, 2025

This PR fixes the handling of indent inside the template languages.

See dprint/dprint-plugin-typescript#718 for details

fixes #29164

@kt3k kt3k requested a review from dsherret June 5, 2025 07:18
@@ -521,3 +521,6 @@ opt-level = 3
opt-level = 3
[profile.release.package.deno_npm_cache]
opt-level = 3

[patch.crates-io]
dprint-plugin-typescript = { rev = "81060251e411676d5bbf608890078399d5dcd943", git = "https://github.com/kt3k/dprint-plugin-typescript.git" }
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can we bump this to a stable version now?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The upstream fix is not landed yet dprint/dprint-plugin-typescript#718 cc @dsherret

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

Successfully merging this pull request may close these issues.

deno fmt: ternary expression inside tagged template literal
2 participants