Skip to content

Commit

Permalink
chore: replace pre-commit with husky (#208)
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
bryans99 authored Dec 17, 2024
1 parent d9e3c46 commit 117bd1e
Show file tree
Hide file tree
Showing 3 changed files with 27 additions and 279 deletions.
2 changes: 2 additions & 0 deletions .husky/pre-commit
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
npm run build
npm run test-once
Loading

0 comments on commit 117bd1e

Please sign in to comment.