Automatically format when submitting

This commit is contained in:
Tw93
2025-08-14 15:10:54 +08:00
parent 6b2e64fdac
commit 8313d9142b
3 changed files with 8 additions and 0 deletions

2
.githooks/pre-commit Executable file
View File

@@ -0,0 +1,2 @@
#!/bin/bash
npm run format && git add -A