1
0
mirror of https://github.com/cotes2020/jekyll-theme-chirpy.git synced 2025-12-18 05:41:31 +00:00

build(npm): use the global commitlint & husky

This commit is contained in:
Cotes Chung
2022-03-13 16:47:22 +08:00
parent f0a2e2f4e1
commit da05d395fb
2 changed files with 1 additions and 12 deletions

View File

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