git-hooks.nix icon indicating copy to clipboard operation
git-hooks.nix copied to clipboard

Added `args` and `exclude_types` to hook type

Open joedevivo opened this issue 1 year ago • 0 comments

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.

joedevivo avatar Mar 22 '24 16:03 joedevivo