add husky and lint-staged to ensure commits are formatted

This commit is contained in:
Nicholas Sylke
2023-08-14 16:14:53 -05:00
parent fb4b96a838
commit f0c607d87a
4 changed files with 528 additions and 3 deletions

4
.husky/pre-commit Normal file
View File

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