Allow users to specify path to .gitignore to allow for mass exclude
Hi,
Thanks for developing this tool, it's great and we use it every day :)
Description
I was wondering whether you could implement a feature that allows for users to specify the filepath to .gitignore, and yamlfix uses .gitignore to identify which files to include/exclude.
This would work nicely with big projects which already have a .gitignore, and would wish to avoid manually specifying each specific directory to include/exclude via the CLI.
Thanks!
Hi @guillaume-troadec thanks for taking the time to open the issue. I think this could be added by creating a configuration (disabled by default) called --use-gitignore or something similar.
Sadly right now I only find time to maintain yamlfix, so I won't be able to develop this feature myself. However I'm open to discuss the implementation if you want to address it yourself, and to review the pull requests