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

Wrong handlebars formatting in YAML text #296

Open
Vad1mo opened this issue Apr 30, 2020 · 4 comments
Open

Wrong handlebars formatting in YAML text #296

Vad1mo opened this issue Apr 30, 2020 · 4 comments

Comments

@Vad1mo
Copy link

Vad1mo commented Apr 30, 2020

I have a YAML for helm that has gotemplate style handlebars {{ .Values.domain }} however the formatter turns them into{ { .Values.domain } } how can I disable specific behaviour . FYI Bracket spacing is non an option here as {{.Values.domain}}isn't a correct gotemplate syntax.

@JPinkney
Copy link
Contributor

JPinkney commented May 1, 2020

There's currently no configurations that can help in that use case unforunately.

The formatter we use is: https://github.com/prettier/prettier and there isn't a ton of customization we can do from our side

@smktpd
Copy link

smktpd commented Dec 27, 2023

This issue is about the same as #246

@MurzNN
Copy link

MurzNN commented Apr 15, 2024

Still no suitable solution or workaround found to resolve this issue ;(
A suggested workaround from #246 has other bad side effects.
So, please implement a proper fix for this!

@mcm-ham
Copy link

mcm-ham commented Jul 24, 2024

Looks related: prettier/prettier#6517

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

No branches or pull requests

5 participants