pint
pint copied to clipboard
add include and exclude option in pint lint
we are using pint to scan a folder ,but this folder may contains README.md ,which will lead to
values/blackbox-exporter/README.md:3 Fatal: found character that cannot start any token (yaml/parse)
a exclude or include parameter in pint lint command or parser config will help do the work.
You have the possibility to specify multiple paths and to pass regex/glob patterns.
e.g. pint lint **/*.yaml
https://github.com/cloudflare/pint/blob/main/cmd/pint/lint.go#L57
I believe this PR solves this issue
@LeoQuote is the above what you were thinking?
yes exactly