From f6a7206666ca8c9e2645ec7b9c0ac49e6c3b2fe0 Mon Sep 17 00:00:00 2001 From: aibayanyu Date: Sat, 30 Jul 2022 12:03:44 +0800 Subject: [PATCH] fix: commitlint support release --- commitlint.config.js | 1 + 1 file changed, 1 insertion(+) diff --git a/commitlint.config.js b/commitlint.config.js index 56ff66d..b0eea64 100644 --- a/commitlint.config.js +++ b/commitlint.config.js @@ -3,6 +3,7 @@ module.exports = { '@commitlint/config-conventional', ], rules: { + 'type-enum': [2, 'always', ['feat', 'fix', 'style', 'ci', 'refactor', 'perf', 'test', 'build', 'chore', 'revert', 'release']], 'subject-max-length': [1, 'always', 150], }, }