commitizen / commitizen/cz-cli

Integrate with commitlint for zen status

未關閉
#930 1 則留言 0 個 reaction 已指派 0 人 在 GitHub 檢視
主要語言
JavaScript
星號
17.5k
分支
566
平均合併
8 小時 16 分鐘
30 天內合併 PR
1

描述

Hi all,

I propose to read the commit lint configuration to adapt the cli to have a single configuration for both tools.
A use case:
- a user configured to enforce a scope in commitlint
- a user configured the scopes accepted in commitlint

The user expect to not be allowed to skip the "scope" step in commit lint, also the help message should show the scopes accepted.

Current situation: Nothing of this will happen and commitlint will fails wit the message built by commitzen cli.

貢獻指南

開啟貢獻指南

研究方向

未指定檔案或測試。先找出 CLI 的設定處理及其與 commitlint 的互動,然後判斷 commitlint 的必要 scope 和可接受的 scope 應如何影響 scope 步驟與說明輸出。當兩個工具都使用相關的 commitlint 設定,且產生的 commit 通過 commitlint 時,即表示完成。

由索引模型根據 Issue 內容生成。

評估

技術堆疊
javascript
領域
cli, tooling
Issue 類型
功能
難度
4/5
預估耗時
3-5 天
活躍度
停滯
描述清晰度
需要釐清
新手友好度
28/100

把新 issue 寄到你的電子郵件信箱

精選適合新手參與的 GitHub issue 摘要。