From 870167470187cea6d1a7d5263e02b81014192048 Mon Sep 17 00:00:00 2001 From: Benny Powers Date: Thu, 30 Apr 2026 13:42:19 +0300 Subject: [PATCH] chore: commitlint scopes for versioned elements --- commitlint.config.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/commitlint.config.js b/commitlint.config.js index c6a41bc748..202f5fadca 100644 --- a/commitlint.config.js +++ b/commitlint.config.js @@ -5,7 +5,7 @@ const normalizeWorkspace = async x => { const ents = await readdir(fileURLToPath(new URL(x, import.meta.url)), { withFileTypes: true }); return ents .filter(ent => ent.isDirectory()) - .map(ent => ent.name.replace('pf-', '')); + .map(ent => ent.name.replace(/^pf-(?:v\d+-)?/, '')); };