Remove --no-doc argument from yq-yaml formatter
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.
合并状态:未合并 2 条评论