Skip to content

Commit 977ad38

Browse files
committed
chore: fix commitlint local setup
When running commitlint with pnpm, the packages must be added to the public hoist pattern. More info: conventional-changelog/commitlint#645 (comment)
1 parent d8e44b2 commit 977ad38

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

Diff for: .npmrc

+2
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,4 @@
11
auto-install-peers=true
22
enable-pre-post-scripts=true
3+
public-hoist-pattern[]=@commitlint*
4+
public-hoist-pattern[]=commitlint

0 commit comments

Comments
 (0)