Hi,
I use a tool which uses a multi-document yaml file as configuration file. It doesn't accept several "mono-document" yaml files instead.
So, to use pre-commit, I disabled the yaml check and I would like to re-enable it.
Regards
Hi @geekobi, first thanks for the issue!
I think the specific hook you're referring to is check-yaml which is located here -- I'd suggest opening an issue there!
This is now available in the v1.1.0 release of pre-commit-hooks
To use this, upgrade to sha: v1.1.0 and use the following configuration for check-yaml:
- id: check-yaml
args: [--allow-multiple-documents]
Thanks again for the issue!
thanks a lot
Most helpful comment
This is now available in the v1.1.0 release of pre-commit-hooks
To use this, upgrade to
sha: v1.1.0and use the following configuration forcheck-yaml:Thanks again for the issue!