From 5d996c42dc01dedc5197572ca3e266b61129adcd Mon Sep 17 00:00:00 2001 From: Andy Lee Date: Thu, 23 Oct 2025 14:18:02 +0800 Subject: [PATCH] ci: allow any string as commit scope (#571) Signed-off-by: Andy Lee --- commitlint.config.js | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/commitlint.config.js b/commitlint.config.js index 17409dd1..30762579 100644 --- a/commitlint.config.js +++ b/commitlint.config.js @@ -22,6 +22,10 @@ module.exports = { 'security', // Security fixes ] ], + // Allows the scope to be empty. [0] means the rule is disabled. + 'scope-empty': [0, 'always'], + // Allows any string for the scope. + 'scope-case': [2, 'always', 'kebab-case'], 'type-case': [2, 'always', 'lower-case'], 'type-empty': [2, 'never'], 'subject-case': [0, 'never'],