✨ Automatically format when submitting
This commit is contained in:
4
.githooks/setup.sh
Executable file
4
.githooks/setup.sh
Executable file
@@ -0,0 +1,4 @@
|
||||
#!/bin/bash
|
||||
git config core.hooksPath .githooks
|
||||
chmod +x .githooks/*
|
||||
git config alias.add '!f() { npm run format && git add "$@"; }; f'
|
||||
Reference in New Issue
Block a user