Commit b215b6c
committed
fixes #10910
```
× eslint-plugin-jsdoc(check-tag-names): Invalid tag name found.
╭─[index.ts:3:14]
2 │ /**
3 │ * @see [@parcel/watcher](https://github.com/parcel-bundler/watcher)
· ───────────────────────────────────────────────────────────
4 │ */
╰────
help: `@parcel/watcher](https://github.com/parcel-bundler/watcher)` is invalid tag name.
```
`@see` was being parsed as a tag and `@parcel/watcher](https://github.com/parcel-bundler/watcher)` as another tag.
I fixed this by checking if we are in `[` or `]`
1 parent a033c1e commit b215b6c
File tree
2 files changed
+15
-1
lines changed- crates
- oxc_linter/src/rules/jsdoc
- oxc_semantic/src/jsdoc/parser
2 files changed
+15
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
562 | 562 | | |
563 | 563 | | |
564 | 564 | | |
| 565 | + | |
| 566 | + | |
| 567 | + | |
| 568 | + | |
| 569 | + | |
| 570 | + | |
| 571 | + | |
| 572 | + | |
| 573 | + | |
| 574 | + | |
| 575 | + | |
565 | 576 | | |
566 | 577 | | |
567 | 578 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
22 | 22 | | |
23 | 23 | | |
24 | 24 | | |
| 25 | + | |
25 | 26 | | |
26 | 27 | | |
27 | 28 | | |
| |||
30 | 31 | | |
31 | 32 | | |
32 | 33 | | |
33 | | - | |
| 34 | + | |
34 | 35 | | |
35 | 36 | | |
36 | 37 | | |
| |||
45 | 46 | | |
46 | 47 | | |
47 | 48 | | |
| 49 | + | |
| 50 | + | |
48 | 51 | | |
49 | 52 | | |
50 | 53 | | |
| |||
0 commit comments