add pre-commit hook: lint

This commit is contained in:
2022-11-18 01:42:25 +01:00
parent c9a08bbf56
commit 9995b50b77
3 changed files with 27 additions and 0 deletions

4
.husky/pre-commit Executable file
View File

@@ -0,0 +1,4 @@
#!/usr/bin/env sh
. "$(dirname -- "$0")/_/husky.sh"
npm run lint