Skip to content

czg 是不是可以直接用 .commitlintrc.ts ? #81

Answered by Zhengqbbb
yuzheng14 asked this question in Q&A
Discussion options

You must be logged in to vote

cz-git 的文档里说可以配合 commitlint 的配置使用,并且对 ts 的兼容性不好。但是 czg 的文档里没有提这个事,而且没法通过 /** @type import('cz-git').UserConfig */ 来获取类型提示,是不是可以直接用 .commitlintrc.ts ?

czg 内没有包含 ts 的类型提示,下一个版本可以考虑添加,如果需要提示的话的话目前可以通过安装一个 cz-git 依赖

是不是可以直接用 .commitlintrc.ts

不行

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by yuzheng14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants