feat: check for formatting errors when committing

This commit is contained in:
P. Reis
2024-05-07 14:53:32 -03:00
parent cb89b7a80c
commit cfc119f311
2 changed files with 5 additions and 0 deletions

4
.hooks/pre-commit Executable file
View File

@@ -0,0 +1,4 @@
#!/usr/bin/env sh
. "$(dirname -- "$0")/_/hook.sh"
deno fmt --check