From 7757d96f3444c283a21021324a7abcb22a29ee2e Mon Sep 17 00:00:00 2001 From: running0503 <xiangdeshan_120@sina.com> Date: 星期三, 31 五月 2023 15:27:16 +0800 Subject: [PATCH] update vite/plugins/unocss.ts. 因低浏览器不支持 top-level await,会报 __uno.css:9 Uncaught SyntaxError: Unexpected reserved word --- 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