From f9fe54c960ffe39affe89a7b3dd8a69e6b194fda Mon Sep 17 00:00:00 2001 From: Wonsuk Choi Date: Sun, 4 Oct 2026 13:06:11 +0900 Subject: [PATCH] docs(eslint-plugin-query): add JSDoc to the exported classes, methods, and arrow functions (#11888) --- packages/eslint-plugin-query/src/utils/get-docs-url.ts | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/packages/eslint-plugin-query/src/utils/get-docs-url.ts b/packages/eslint-plugin-query/src/utils/get-docs-url.ts index e22e09c71e..2a43bf7fd3 100644 --- a/packages/eslint-plugin-query/src/utils/get-docs-url.ts +++ b/packages/eslint-plugin-query/src/utils/get-docs-url.ts @@ -1,2 +1,7 @@ +/** + * Builds the URL of a rule's documentation page. + * @param ruleName - The rule's name, e.g. `exhaustive-deps`. + * @returns The URL of the rule's page in the ESLint plugin docs. + */ export const getDocsUrl = (ruleName: string): string => `https://tanstack.com/query/latest/docs/eslint/${ruleName}`