mirror of
https://github.com/arc53/DocsGPT.git
synced 2026-02-20 03:11:21 +00:00
adds precommit hook
This commit is contained in:
6
frontend/.husky/pre-commit
Executable file
6
frontend/.husky/pre-commit
Executable file
@@ -0,0 +1,6 @@
|
||||
#!/usr/bin/env sh
|
||||
. "$(dirname -- "$0")/_/husky.sh"
|
||||
|
||||
# npm test
|
||||
cd frontend
|
||||
npx lint-staged
|
||||
Reference in New Issue
Block a user