-
Notifications
You must be signed in to change notification settings - Fork 4.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Adequate our use of @link
tag
#14334
Comments
Tagged as |
@nosolosw can you add more details about what exactly needs to be done? :) |
Added more info in the description. |
The action items could still be clearer, I think. Or at least, my initial impressions are, aside from just updating existing usage:
|
I don't know where this should be documented (if anywhere) but would love having a linting rule for it. Added the action item to the issue description. |
To the point of the lint rule, #13741 is likely related here, as I expect the resolution there will migrate us toward https://www.npmjs.com/package/eslint-plugin-jsdoc#eslint-plugin-jsdoc-settings-alias-preference {
"settings": {
"jsdoc": {
"tagNamePreference": {
"link": "see"
}
}
}
} (It's not entirely clear to me whether |
Hi, everyone! I'm a first time contributor here! May I work on the "update existing usage" portion of this fix? Should the changes be applied to all the relevant files that aren't listed in .gitignore or the files that are available before running ./bin/setup-local-env.sh? (I don't know if these are the same.) |
👋 Suzen (@codesue), you're very welcome to do so! Ping me in the Pull Request you prepare for this and I'll make sure it gets reviewed. As for the files involved: any JavaScript file that is not listed in |
Noting that #15616 updated the |
I'm triagging issues we don't plan to tackle. We can reopen if it regains interest. |
The spec defines block and inline tags.
@block
stand on their own, inline tags live within the description of block level tags and are wrapped by{}
. Example:It looks like
@link
is an inline-only tag. Tools actually implement the@link
as block and inline, so it's a non-issue at a practical level.Action items
@link
tagWhen the link tag is used as a block-level tag, we should substitute it by theFix: change block-level @link tag to @see tag #15616@see
tag instead.Bad:
Good:
The text was updated successfully, but these errors were encountered: