git-hooks.nix
git-hooks.nix copied to clipboard
Added `args` and `exclude_types` to hook type
Creating new hooks allows for args and exclude_types.
In particular, I wanted to configure shfmt to not force the -s flag. I changed the default configuration for shfmt to have args = [ "-s" ] to not break anything for anybody, but it allows me to disable it, and add other flags.