Skip to content

Commit f403ce6

Browse files
committed
docs: fix outdated linter dev commands
1 parent a6c3c35 commit f403ce6

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/docs/contribute/linter.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,13 +14,13 @@ See the [adding rules](./linter/adding-rules.md) guide for how to add new rules
1414
Create a `./test.ts` and then
1515

1616
```bash
17-
just watch "run --bin oxlint -- test.ts"
17+
just watch "cargo run --bin oxlint -- test.ts"
1818
```
1919

2020
Or test and filter against the rule:
2121

2222
```bash
23-
just watch "test -p oxc_linter -- rule-name"
23+
just watch "cargo test -p oxc_linter -- rule-name"
2424
```
2525

2626
### Snapshot Testing

0 commit comments

Comments
 (0)