Spaces before comments
Open
- Dominant language
- Go
- Stars
- 1.8k
- Forks
- 75
- PR merge metrics
- No merged PRs in 30d
Description
Hello,
yamllint 1.35.1 output

yamlfmt 0.13.0 doesn't add the required spaces asked by yamllint
.yamlfmt file
```
formatter:
type: basic
include_document_start: true
pad_line_comments: 2
```
It happens when there's a comment in a like starting by the dash character like this :
```
...
rules:
- # Ingress host
host: "xxxx.xxx.xxx"
# Paths for the host
paths:
- path: /auth/admin/
pathType: Prefix
# Console TLS configuration
tls:
```
Am I missing something please ?
Thank you.
Contributor guide
Assessment
This issue has not been assessed yet.