diff options
| author | Andreas Kurth <github@akurth.de> | 2026-01-21 01:13:44 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2026-01-20 16:13:44 -0800 |
| commit | 143c1dffed15f1cab3eb06e148fe11224e39471c (patch) | |
| tree | 6ea5c35cc54db0ab4979708802b208ec97bf6e94 /CHANGELOG.md | |
| parent | 426616cf1799dbce89800ae2fe9f155311436503 (diff) | |
Remove --no-doc argument from yq-yaml formatter (#386)
The --no-doc argument removes existing document separators (---) from
yaml files. It is perfectly valid and common practice to use multiple
documents within a single file, e.g. in the kubernetes universe.
Formatting such files with --no-doc breaks their validity.
See also the prettier-yaml test, which preserves the document separator,
too.
Diffstat (limited to 'CHANGELOG.md')
| -rw-r--r-- | CHANGELOG.md | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/CHANGELOG.md b/CHANGELOG.md index 3cda2e9..51b6b9e 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -5,6 +5,8 @@ The format is based on [Keep a Changelog]. ## Unreleased ### Formatters +* Removed `--no-doc` argument from yq-yaml to avoid breaking + multi-document yaml files ([#386]). * Use clang-format for formatting Objective-C/C++ files ([#378]). * `bibtex-reformat` for BibTeX files. * `rubocop` changed to use `--force-exclusion` to obey exclusions in config |
