Skip to content

Commit

Permalink
fix(eslint-plugin-query): change lint urls to the website (#4449)
Browse files Browse the repository at this point in the history
  • Loading branch information
Newbie012 committed Nov 4, 2022
1 parent c1b3559 commit 292cc54
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/eslint-plugin-query/src/utils/create-rule.ts
Expand Up @@ -3,7 +3,7 @@ import type { EnhancedCreate } from './detect-react-query-imports'
import { detectReactQueryImports } from './detect-react-query-imports'

const getDocsUrl = (ruleName: string): string =>
`https://github.com/tanstack/query/tree/master/packages/eslint-plugin-query/docs/rules/${ruleName}.md`
`https://tanstack.com/query/v4/docs/eslint/${ruleName}`

type EslintRule = Omit<
Parameters<ReturnType<typeof ESLintUtils.RuleCreator>>[0],
Expand Down

0 comments on commit 292cc54

Please sign in to comment.