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

Misunderstanding <<: #18

Open
axlroden opened this issue Feb 21, 2024 · 2 comments
Open

Misunderstanding <<: #18

axlroden opened this issue Feb 21, 2024 · 2 comments

Comments

@axlroden
Copy link

axlroden commented Feb 21, 2024

I have this code:

restic:
  <<: *image

When I save with this extension enabled it does this:

restic:
  !!merge <<: *image

is there a way to disable this ?

@kiliantyler
Copy link

I've taken it upon myself to improve this extension since it hasn't had an update in quite a while.
The feature that you're requesting is available in the base yamlfmt and added as an option here:
https://github.com/kiliantyler/kubernetes-yaml-formatter-x?tab=readme-ov-file#extension-settings

kubernetes-yaml-formatter-x.dropMergeTags

@axlroden
Copy link
Author

thankyou! Works like a treat.

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

No branches or pull requests

2 participants