remove pre-commit hook

This commit is contained in:
Gerg-L 2023-12-10 17:05:02 -05:00
parent f7619fcf0a
commit c45063bc69
Signed by: gerg-l
SSH key fingerprint: SHA256:FPYDHIkvMocr4wdmZXpgpJjsb2Tw6rASs2ISPbOb0KI

View file

@ -1,16 +0,0 @@
#!/usr/bin/env bash
STAGED="$(git diff --name-only --cached --diff-filter=d | grep "**.nix" | tr '\n' ' ')"
if [ -z "$STAGED" ]; then
exit 0
fi
for i in $STAGED; do
statix fix -- "$i"
done
deadnix -qe $STAGED
nixfmt -q $STAGED
git add $STAGED