Selaa lähdekoodia

feat: add husky commit-msg hook

Sarah Norris 3 vuotta sitten
vanhempi
commit
57504b8bc9
1 muutettua tiedostoa jossa 4 lisäystä ja 0 poistoa
  1. 4 0
      .husky/commit-msg

+ 4 - 0
.husky/commit-msg

@@ -0,0 +1,4 @@
+#!/bin/sh
+. "$(dirname "$0")/_/husky.sh"
+
+npx --no -- commitlint --edit "$1"