Skip to content

Commit 1ddf7e5

Browse files
authored
docs(linter/type-aware): add npm/yarn/bun example for type aware installation (#526)
1 parent 1af2e24 commit 1ddf7e5

File tree

1 file changed

+17
-1
lines changed

1 file changed

+17
-1
lines changed

src/docs/guide/usage/linter/type-aware.md

Lines changed: 17 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,10 +4,26 @@ Read our [technical preview announcement](/blog/2025-08-17-oxlint-type-aware) fo
44

55
## Installation
66

7-
```bash
7+
::: code-group
8+
9+
```sh [npm]
10+
npx add -D oxlint-tsgolint@latest
11+
```
12+
13+
```sh [pnpm]
814
pnpm add -D oxlint-tsgolint@latest
915
```
1016

17+
```sh [yarn]
18+
yarn add -D oxlint-tsgolint@latest
19+
```
20+
21+
```sh [bun]
22+
bunx add -D oxlint-tsgolint@latest
23+
```
24+
25+
:::
26+
1127
Run `oxlint` with `--type-aware`
1228

1329
```bash

0 commit comments

Comments
 (0)