From d837efcf29e7ca69428b019fc8d8f52d439e8b35 Mon Sep 17 00:00:00 2001 From: meteorlxy Date: Fri, 12 Apr 2024 00:04:06 +0800 Subject: [PATCH] chore: add e2e to commitlint scope --- commitlint.config.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/commitlint.config.ts b/commitlint.config.ts index 2a064e29c3..6ee3b18b7a 100644 --- a/commitlint.config.ts +++ b/commitlint.config.ts @@ -11,7 +11,7 @@ const packages = getSubDirectories(path.resolve(__dirname, 'packages')) export default { extends: ['@commitlint/config-conventional'], rules: { - 'scope-enum': [2, 'always', packages], + 'scope-enum': [2, 'always', [...packages, 'e2e']], 'footer-max-line-length': [0], }, } satisfies UserConfig