Skip to content

Commit 5afb449

Browse files
authored
docs: fix Deno setup without package.json (#4896)
* docs: fix Deno setup without package.json * docs: clarify Deno 2 requirement
1 parent cf44c47 commit 5afb449

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

docs/guides/getting-started.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,8 @@ bun add -d @commitlint/cli @commitlint/config-conventional
2424

2525
```sh [deno]
2626
deno add -D npm:@commitlint/cli npm:@commitlint/config-conventional
27+
# Deno 2 only: create a local node_modules directory for Node.js module resolution
28+
deno install --node-modules-dir=auto
2729
```
2830

2931
:::

0 commit comments

Comments
 (0)