Bug: [no-unused-vars] False negative when var is referenced from TSDoc {@link ...}
/ tsdoc support
#6967
Closed
4 tasks done
Labels
duplicate
This issue or pull request already exists
package: eslint-plugin
Issues related to @typescript-eslint/eslint-plugin
Before You File a Bug Report Please Confirm You Have Done The Following...
Playground Link
https://typescript-eslint.io/play/#ts=5.0.4&sourceType=module&code=JYWwDg9gTgLgBAbzgZQiApjAFsAdgczgF84AzKNOAcgGc10B3LdKdKgbgCgB6AKl85xecAKo10NONnSIAAgBs8AaxT1sefEUG9undAA9IsOAGN5AQxqSAwhFw0ArhiiJinIA&eslintrc=N4KABGBEBOCuA2BTAzpAXGUEKQAIBcBPABxQGNoBLY-AWhXkoDt8B6Jge1tidmUQAmtAG4BDaKgyRE0aB2iRwYAL4hlQA&tsconfig=N4KABGBEDGD2C2AHAlgGwKYCcDyiAuysAdgM6QBcYoEEkJemy0eAcgK6qoDCAFutAGsylBm3TgwAXxCSgA
Repro Code
ESLint Config
tsconfig
No response
Expected Result
I expected the
{@link Something}
to markSomething
as used and therefore not fail on line 1Actual Result
An error on line 1:
Additional Info
When I Ctrl + click in VSCode my editor jumps to the class definition as expected and TypeDoc will generate links when mentioning a class like this, but it must be imported.
This is a link for the
{@link}
inline tag: https://tsdoc.org/pages/tags/link/The text was updated successfully, but these errors were encountered: