From 6cf7f089e2c9648f8493a8b729428aa64a2cd8e8 Mon Sep 17 00:00:00 2001 From: Jay Tavares Date: Tue, 10 May 2022 15:48:19 -0400 Subject: [PATCH] docs: correct config-nx-scopes project type filtering syntax --- @commitlint/config-nx-scopes/readme.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/@commitlint/config-nx-scopes/readme.md b/@commitlint/config-nx-scopes/readme.md index 65b39bd878..4ab2f8be58 100644 --- a/@commitlint/config-nx-scopes/readme.md +++ b/@commitlint/config-nx-scopes/readme.md @@ -33,7 +33,8 @@ module.exports = { [ ...(await getProjects( ctx, - ({name, type}) => !name.includes('e2e') && type == 'application' + ({name, projectType}) => + !name.includes('e2e') && projectType == 'application' )), ], ],