Skip to content

Commit 117bd1e

Browse files
authored
chore: replace pre-commit with husky (#208)
pre-commit is a tool that installs a pre commit hook to verify the project before the commit takes place. Unfortunately pre-commit was last published 8 years ago and has a number of security issues published against. This change replaces it with husky which does the same thing but is actively maintained.
1 parent d9e3c46 commit 117bd1e

File tree

3 files changed

+27
-279
lines changed

3 files changed

+27
-279
lines changed

.husky/pre-commit

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
npm run build
2+
npm run test-once

0 commit comments

Comments
 (0)