From 40a75dae3182cb55b30a2e8093c5eed82465f59c Mon Sep 17 00:00:00 2001 From: LiuHao <liuhaoai545@gmail.com> Date: 星期一, 15 四月 2024 10:40:33 +0800 Subject: [PATCH] fix 修复代码缩进. --- commitlint.config.js | 40 ++++++++++++++++++++-------------------- 1 files changed, 20 insertions(+), 20 deletions(-) diff --git a/commitlint.config.js b/commitlint.config.js index 21c37d7..3b75ed5 100644 --- a/commitlint.config.js +++ b/commitlint.config.js @@ -1,22 +1,22 @@ module.exports = { - extends: ['@commitlint/config-conventional'], - rules: { - 'type-enum': [ - 2, - 'always', - [ - 'feat', // 鏂板姛鑳� feature - 'fix', // 淇 bug - 'docs', // 鏂囨。娉ㄩ噴 - 'style', // 浠g爜鏍煎紡 - 'refactor', // 閲嶆瀯 - 'perf', // 鎬ц兘浼樺寲 - 'test', // 澧炲姞娴嬭瘯 - 'chore', // 鏋勫缓杩囩▼鎴栬緟鍔╁伐鍏风殑鍙樺姩 - 'revert', // 鍥為�� - 'build' // 鎵撳寘 - ] - ], - 'subject-case': [0] - } + extends: ['@commitlint/config-conventional'], + rules: { + 'type-enum': [ + 2, + 'always', + [ + 'feat', // 鏂板姛鑳� feature + 'fix', // 淇 bug + 'docs', // 鏂囨。娉ㄩ噴 + 'style', // 浠g爜鏍煎紡 + 'refactor', // 閲嶆瀯 + 'perf', // 鎬ц兘浼樺寲 + 'test', // 澧炲姞娴嬭瘯 + 'chore', // 鏋勫缓杩囩▼鎴栬緟鍔╁伐鍏风殑鍙樺姩 + 'revert', // 鍥為�� + 'build' // 鎵撳寘 + ] + ], + 'subject-case': [0] + } }; -- Gitblit v1.9.3