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
committed by Mythie
parent e164fabb04
commit 9783e16656
4 changed files with 522 additions and 16 deletions

4
.husky/pre-commit Normal file
View File

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