Skip to content

Commit

Permalink
chore: add husky hooks
Browse files Browse the repository at this point in the history
Refs #2722
  • Loading branch information
char0n committed Jul 29, 2021
1 parent bcae6cb commit c32940d
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 0 deletions.
4 changes: 4 additions & 0 deletions .husky/commit-msg
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
#!/bin/sh
. "$(dirname "$0")/_/husky.sh"

npx commitlint -e
4 changes: 4 additions & 0 deletions .husky/pre-commit
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
#!/bin/sh
. "$(dirname "$0")/_/husky.sh"

npx lint-staged

0 comments on commit c32940d

Please sign in to comment.