-
-
Notifications
You must be signed in to change notification settings - Fork 41
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Bug report] 使用@commitlint/config-conventional^19出现异常 #160
Comments
ref: #159 (comment) |
使用的是.commitlintrc.cjs默认配置模板,只添加了extends: ['@commitlint/config-conventional'] 配置项 |
commitlint 从 v19 开始全面使用 ESM 规范而没有提供 CJS 的兼容层 🫠 conventional-changelog/commitlint#3850 |
…onfig commitlint update to pure ESM. Include common plugin like `@commitlint/config-conventional` It cause cz-git loader config error link #160
@BlueCat918 当前你的项目可以使用下面命令进行升级,如果有问题的话,欢迎前来告知 😁 再次感谢你的提醒 npm install -D cz-git@next |
汇报一下,1.8.1-beta.3 在我的项目里没有问题 |
@Zhengqbbb |
* fix(plugin-loader): to support commitlint v19 `esm` plugin extends config commitlint update to pure ESM. Include common plugin like `@commitlint/config-conventional` It cause cz-git loader config error link #160
The latest version 🌟(v1.9.0)🌟 should be resolve this issue request , please have a try. 💪 |
✅ Checklist
📄 System Info
🔎 Description
未使用全局配置,使用@commitlint/config-conventional^19的情况下出现以下异常,降级为^18异常消失。
🔗 Reproduction link / repo:
No response
The text was updated successfully, but these errors were encountered: