Skip to content

ES module project usage: "type": "module" which declares all .js files in that package scope as ES modules #79

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

You must be logged in to vote

文档里模板给的是 .commitlintrc.js

文档里面还有 .commitlintrc.cjscommitlint.config.cjs 可以试试

if u project is esm project type: module. u can use .cjs configure like commitlint.config.cjs| .commitlintrc.cjs | cz.config.cjs

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@yuzheng14
Comment options

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