@tanstack/eslint-plugin-query
Advanced tools
Comparing version 5.17.20 to 5.17.22
@@ -1,2 +0,2 @@ | ||
export { configs } from './configs'; | ||
export { rules } from './rules'; | ||
export { configs } from './configs.js'; | ||
export { rules } from './rules.js'; |
import { ESLintUtils } from '@typescript-eslint/utils'; | ||
import type { EnhancedCreate } from './detect-react-query-imports'; | ||
import type { EnhancedCreate } from './detect-react-query-imports.js'; | ||
type EslintRule = Omit<Parameters<ReturnType<typeof ESLintUtils.RuleCreator>>[0], 'create'> & { | ||
@@ -4,0 +4,0 @@ create: EnhancedCreate; |
import { ESLintUtils } from "@typescript-eslint/utils"; | ||
import { detectTanstackQueryImports } from "./detect-react-query-imports.js"; | ||
const getDocsUrl = (ruleName) => `https://tanstack.com/query/v4/docs/eslint/${ruleName}`; | ||
const getDocsUrl = (ruleName) => `https://tanstack.com/query/latest/docs/eslint/${ruleName}`; | ||
function createRule({ create, ...rest }) { | ||
@@ -5,0 +5,0 @@ return ESLintUtils.RuleCreator(getDocsUrl)({ |
{ | ||
"name": "@tanstack/eslint-plugin-query", | ||
"version": "5.17.20", | ||
"version": "5.17.22", | ||
"description": "ESLint plugin for TanStack Query", | ||
@@ -5,0 +5,0 @@ "author": "Eliya Cohen", |
@@ -6,3 +6,3 @@ import { ESLintUtils } from '@typescript-eslint/utils' | ||
const getDocsUrl = (ruleName: string): string => | ||
`https://tanstack.com/query/v4/docs/eslint/${ruleName}` | ||
`https://tanstack.com/query/latest/docs/eslint/${ruleName}` | ||
@@ -9,0 +9,0 @@ type EslintRule = Omit< |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
199563
0