Skip to content

Commit ac410ab

Browse files
committed
pnpm dlx
1 parent 82a889a commit ac410ab

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

src/blog/2025-08-18-oxlint-type-aware.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -25,14 +25,14 @@ To get started, run:
2525

2626
```bash
2727
pnpm add -D oxlint-tsgolint@latest
28-
pnpx oxlint --type-aware
28+
pnpm dlx oxlint --type-aware
2929
```
3030

3131
Or only `no-floating-promises` in action:
3232

3333
```bash
3434
pnpm add -D oxlint-tsgolint@latest
35-
pnpx oxlint --type-aware -A all -D typescript/no-floating-promises
35+
pnpm dlx oxlint --type-aware -A all -D typescript/no-floating-promises
3636
```
3737

3838
We expect to see, for example:
@@ -196,15 +196,15 @@ To get started, install `oxlint`:
196196

197197
```bash
198198
pnpm add -D oxlint@latest oxlint-tsgolint@latest
199-
pnpx oxlint --init # generate .oxlintrc.json
199+
pnpm dlx oxlint --init # generate .oxlintrc.json
200200
```
201201

202202
or follow the [installation guide](https://oxc.rs/docs/guide/usage/linter).
203203

204204
Use the `--type-aware` CLI flag.
205205

206206
```
207-
pnpx oxlint --type-aware
207+
pnpm dlx oxlint --type-aware
208208
```
209209

210210
Or play around with any of the type-aware rules in `.oxlintrc.json`:

0 commit comments

Comments
 (0)