From 977ad38c1599b351e044a6415f28c5d127e1291b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mario=20Beltr=C3=A1n?= Date: Mon, 16 Dec 2024 08:52:37 +0100 Subject: [PATCH] chore: fix commitlint local setup When running commitlint with pnpm, the packages must be added to the public hoist pattern. More info: https://github.com/conventional-changelog/commitlint/issues/645#issuecomment-2078360165 --- .npmrc | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.npmrc b/.npmrc index a47628ce..14c0beb1 100644 --- a/.npmrc +++ b/.npmrc @@ -1,2 +1,4 @@ auto-install-peers=true enable-pre-post-scripts=true +public-hoist-pattern[]=@commitlint* +public-hoist-pattern[]=commitlint \ No newline at end of file