-
-
Notifications
You must be signed in to change notification settings - Fork 2.8k
Bug: [no-unused-vars] Does not recognize @link
JSDoc usage.
#7944
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
Comments
Just realized I could have reproduced with a module-local function e.g.: (Of course that sort of usage does not make sense, cross-file references as in the reproduction repository do, though.) |
Uh oh! @brunnerh, the image you shared is missing helpful alt text. Check #7944 (comment). Alt text is an invisible description that helps screen readers describe images to blind or low-vision users. If you are using markdown to display images, add your alt text inside the brackets of the markdown image. Learn more about alt text at Basic writing and formatting syntax: images on GitHub Docs. |
1 similar comment
Uh oh! @brunnerh, the image you shared is missing helpful alt text. Check #7944 (comment). Alt text is an invisible description that helps screen readers describe images to blind or low-vision users. If you are using markdown to display images, add your alt text inside the brackets of the markdown image. Learn more about alt text at Basic writing and formatting syntax: images on GitHub Docs. |
Drop the @ and add another keyword (jsdoc) and you'll find more relevant results. https://github.com/typescript-eslint/typescript-eslint/issues?q=is%3Aissue+link+jsdoc |
Before You File a Bug Report Please Confirm You Have Done The Following...
Issue Description
The TS language server recognizes and processes references in
@link
.The plugin still complains about the variable not being used.
Reproduction Repository Link
https://github.com/brunnerh/ts-eslint-link-issue
Edit: Playground
Repro Steps
npm install
npm run lint
Versions
@typescript-eslint/eslint-plugin
6.11.0
@typescript-eslint/parser
6.11.0
ESLint
8.53.0
node
18.13.0
The text was updated successfully, but these errors were encountered: