google / yamlfmt

An extensible command line tool or library to format yaml files.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Feature Request: Optional exclude content from .gitignore

otteydw opened this issue · comments

Since we store a bunch of files and directories to exclude in a local .gitignore file, it would help if this tool excluded that list of files too -- or at least allowed us to enter a list of excludes from a file (which could be the .gitignore file).

It would save from repeating file content between our .gitignore and our .yamlfmt file.

Hi @otteydw thank you for the feature request! I am not sure how I missed this when you first opened it. I've opened a PR to add this feature and it will be in v0.11.0 that I plan to release soon.