You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The underlying yaml parser has a concept of Head, Line, and Foot comments. These are to determine where to place the comments when rendering. A Head comment is a comment above the given yaml node, a line comment is on the same line, and a foot comment is below. pad_line_comments is a config value for adding space padding to line comments (where the default and minimum is 1).
The problem here is that the yaml parser interprets the # Ingress host comment to be a Head Comment to the host: "x" node rather than a Line Comment to the block sequence starting node -.
I'm not confident I could make the yaml parser do what yamllint wants here without potentially breaking other parsing code.
Hello,
yamllint 1.35.1 output
yamlfmt 0.13.0 doesn't add the required spaces asked by yamllint
.yamlfmt file
It happens when there's a comment in a like starting by the dash character like this :
Am I missing something please ?
Thank you.
The text was updated successfully, but these errors were encountered: