You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: packages/eslint-plugin/docs/rules/no-unused-vars.mdx
+16Lines changed: 16 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -118,3 +118,19 @@ export interface Box {
118
118
</Tabs>
119
119
120
120
If you find yourself writing runtime values only for types, consider refactoring your code to declare types directly.
121
+
122
+
### Why are variables reported as unused despite being referenced by @link in JSDoc?
123
+
124
+
JSDoc references are not supported by typescript-eslint.
125
+
You can use a rule such as [`jsdoc/no-undefined-types`](https://github.com/gajus/eslint-plugin-jsdoc/blob/main/docs/rules/no-undefined-types.md) to resolve variables as used in JSDoc comments.
0 commit comments