Skip to content

formats comment blocks yaml with wrong intendation #17

Description

@DanielHabenichtWork

After running format on a comment block with yaml examples the formatting is lost.

Example:

{{- /*
 A namespace lowers a mode only by declaring the exception, e.g.
 
-  - name: istio-system
-    podSecurity:
-      enforce: baseline
+- name: istio-system
+podSecurity:
+enforce: baseline
 
 so overlays list only the exceptions.
 */ -}}

The expectation would be that the intendation would be kept as is.

Version: v0.5.0

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions