Skip to content

Conversation

@braydonk
Copy link
Collaborator

@braydonk braydonk commented Nov 1, 2024

This PR adds the strip_directives feature, a hotfix that will allow yamlfmt to function with directives in the document for some cases. It's a very imperfect feature but should help in some minimal cases.

Sort of fixes #215

This PR adds the `strip_directives` feature, a hotfix that will allow
yamlfmt to function with directives in the document for some cases. It's
a very imperfect feature but should help in some minimal cases.
@braydonk braydonk merged commit 52c3b64 into google:main Nov 1, 2024
7 checks passed
steeef pushed a commit to steeef/yamlfmt that referenced this pull request Sep 5, 2025
* Add feature `strip_directives`

This PR adds the `strip_directives` feature, a hotfix that will allow
yamlfmt to function with directives in the document for some cases. It's
a very imperfect feature but should help in some minimal cases.

* add missing license header
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

%YAML:1.0 give error

1 participant