We use cookies to ensure you get the best experience on our website
This website works better with JavaScript
首頁
探索
說明
註冊
登入
0ct0pu5
/
themes-wordpress
關注
1
讚好
0
複刻
0
檔案
問題管理
0
合併請求
0
Wiki
瀏覽代碼
feat: add husky commit-msg hook
Sarah Norris
3 年之前
父節點
2f8f8c2add
當前提交
57504b8bc9
共有
1 個文件被更改
,包括
4 次插入
和
0 次删除
分割檢視
顯示文件統計
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"