From e91ebc9a803d9a13c63c330f6bcb461d818c8198 Mon Sep 17 00:00:00 2001 From: Gao Sun Date: Sun, 3 Jul 2022 12:23:19 +0800 Subject: [PATCH] chore: add scope enum (#1371) --- commitlint.config.js | 1 + 1 file changed, 1 insertion(+) diff --git a/commitlint.config.js b/commitlint.config.js index d75fad8aa..9a6743618 100644 --- a/commitlint.config.js +++ b/commitlint.config.js @@ -5,5 +5,6 @@ module.exports = { extends: ['@commitlint/config-conventional'], rules: { 'type-enum': [2, 'always', [...rules['type-enum'][2], 'api', 'release']], + 'scope-enum': [2, 'always', ['connector', 'console', 'core', 'demo-app', 'test', 'phrases', 'schemas', 'shared', 'ui']] }, };