maggioni.xyz/hooks/pre-commit

5 lines
73 B
Bash
Executable File

#!/bin/sh
$(npm bin)/prettier --write $(git rev-parse --show-toplevel)