From fcb7ad965d0af22725f04dc9ffe7144454001c2b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E7=87=95=E5=8D=9A=E6=96=87?= <349952469@qq.com> Date: Wed, 7 Dec 2022 15:25:15 +0800 Subject: [PATCH] refactor(czg): update cz-git,czg breaking changes --- commitlint.config.js | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/commitlint.config.js b/commitlint.config.js index 432fa76b..6c963088 100644 --- a/commitlint.config.js +++ b/commitlint.config.js @@ -26,8 +26,8 @@ module.exports = { subject: '填写简短精炼的变更描述 :\n', body: '填写更加详细的变更描述(可选)。使用 "|" 换行 :\n', breaking: '列举非兼容性重大的变更(可选)。使用 "|" 换行 :\n', - footerPrefixsSelect: '选择关联issue前缀(可选):', - customFooterPrefixs: '输入自定义issue前缀 :', + footerPrefixesSelect: '选择关联issue前缀(可选):', + customFooterPrefix: '输入自定义issue前缀 :', footer: '列举关联issue (可选) 例如: #31, #I3244 :\n', confirmCommit: '是否提交或修改commit ?' }, @@ -76,16 +76,16 @@ module.exports = { breaklineNumber: 100, breaklineChar: '|', skipQuestions: [], - issuePrefixs: [ + issuePrefixes: [ // 如果使用 gitee 作为开发管理 { value: 'link', name: 'link: 链接 ISSUES 进行中' }, { value: 'closed', name: 'closed: 标记 ISSUES 已完成' } ], - customIssuePrefixsAlign: 'top', - emptyIssuePrefixsAlias: 'skip', - customIssuePrefixsAlias: 'custom', - allowCustomIssuePrefixs: true, - allowEmptyIssuePrefixs: true, + customIssuePrefixAlign: 'top', + emptyIssuePrefixAlias: 'skip', + customIssuePrefixAlias: 'custom', + allowCustomIssuePrefix: true, + allowEmptyIssuePrefix: true, confirmColorize: true, maxHeaderLength: Infinity, maxSubjectLength: Infinity,