added pre-commit hook for linting

This commit is contained in:
Dave Horton
2022-02-14 13:18:04 -05:00
parent 55056c1771
commit 13f78bf8d9
3 changed files with 25 additions and 0 deletions

4
.husky/pre-commit Executable file
View File

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