@tanstack/eslint-plugin-query 5.53.0 → 5.56.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cjs/index.d.cts +0 -1
- package/dist/cjs/rules/exhaustive-deps/exhaustive-deps.rule.d.cts +0 -1
- package/dist/cjs/rules/exhaustive-deps/exhaustive-deps.utils.d.cts +0 -1
- package/dist/cjs/rules/no-rest-destructuring/no-rest-destructuring.rule.d.cts +0 -1
- package/dist/cjs/rules/no-rest-destructuring/no-rest-destructuring.utils.d.cts +0 -1
- package/dist/cjs/rules/no-unstable-deps/no-unstable-deps.rule.d.cts +0 -1
- package/dist/cjs/rules/stable-query-client/stable-query-client.rule.d.cts +0 -1
- package/dist/cjs/rules.d.cts +0 -1
- package/dist/cjs/utils/ast-utils.d.cts +0 -1
- package/dist/cjs/utils/detect-react-query-imports.d.cts +0 -1
- package/dist/esm/index.d.ts +0 -1
- package/dist/esm/rules/exhaustive-deps/exhaustive-deps.rule.d.ts +0 -1
- package/dist/esm/rules/exhaustive-deps/exhaustive-deps.utils.d.ts +0 -1
- package/dist/esm/rules/no-rest-destructuring/no-rest-destructuring.rule.d.ts +0 -1
- package/dist/esm/rules/no-rest-destructuring/no-rest-destructuring.utils.d.ts +0 -1
- package/dist/esm/rules/no-unstable-deps/no-unstable-deps.rule.d.ts +0 -1
- package/dist/esm/rules/stable-query-client/stable-query-client.rule.d.ts +0 -1
- package/dist/esm/rules.d.ts +0 -1
- package/dist/esm/utils/ast-utils.d.ts +0 -1
- package/dist/esm/utils/detect-react-query-imports.d.ts +0 -1
- package/package.json +1 -1
package/dist/cjs/index.d.cts
CHANGED
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
import { rules } from './rules.cjs';
|
|
2
2
|
import { ESLint, Linter } from 'eslint';
|
|
3
3
|
import { RuleModule } from '@typescript-eslint/utils/ts-eslint';
|
|
4
|
-
|
|
5
4
|
type RuleKey = keyof typeof rules;
|
|
6
5
|
interface Plugin extends Omit<ESLint.Plugin, 'rules'> {
|
|
7
6
|
rules: Record<RuleKey, RuleModule<any, any, any>>;
|
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import { ESLintUtils } from '@typescript-eslint/utils';
|
|
2
2
|
import { ExtraRuleDocs } from '../../types';
|
|
3
|
-
|
|
4
3
|
export declare const name = "exhaustive-deps";
|
|
5
4
|
export declare const rule: ESLintUtils.RuleModule<string, readonly unknown[], ExtraRuleDocs, ESLintUtils.RuleListener>;
|
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import { ESLintUtils } from '@typescript-eslint/utils';
|
|
2
2
|
import { ExtraRuleDocs } from '../../types';
|
|
3
|
-
|
|
4
3
|
export declare const name = "no-rest-destructuring";
|
|
5
4
|
export declare const rule: ESLintUtils.RuleModule<string, readonly unknown[], ExtraRuleDocs, ESLintUtils.RuleListener>;
|
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import { ESLintUtils } from '@typescript-eslint/utils';
|
|
2
2
|
import { ExtraRuleDocs } from '../../types';
|
|
3
|
-
|
|
4
3
|
export declare const name = "stable-query-client";
|
|
5
4
|
export declare const rule: ESLintUtils.RuleModule<string, readonly unknown[], ExtraRuleDocs, ESLintUtils.RuleListener>;
|
package/dist/cjs/rules.d.cts
CHANGED
package/dist/esm/index.d.ts
CHANGED
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
import { rules } from './rules.js';
|
|
2
2
|
import { ESLint, Linter } from 'eslint';
|
|
3
3
|
import { RuleModule } from '@typescript-eslint/utils/ts-eslint';
|
|
4
|
-
|
|
5
4
|
type RuleKey = keyof typeof rules;
|
|
6
5
|
interface Plugin extends Omit<ESLint.Plugin, 'rules'> {
|
|
7
6
|
rules: Record<RuleKey, RuleModule<any, any, any>>;
|
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import { ESLintUtils } from '@typescript-eslint/utils';
|
|
2
2
|
import { ExtraRuleDocs } from '../../types';
|
|
3
|
-
|
|
4
3
|
export declare const name = "exhaustive-deps";
|
|
5
4
|
export declare const rule: ESLintUtils.RuleModule<string, readonly unknown[], ExtraRuleDocs, ESLintUtils.RuleListener>;
|
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import { ESLintUtils } from '@typescript-eslint/utils';
|
|
2
2
|
import { ExtraRuleDocs } from '../../types';
|
|
3
|
-
|
|
4
3
|
export declare const name = "no-rest-destructuring";
|
|
5
4
|
export declare const rule: ESLintUtils.RuleModule<string, readonly unknown[], ExtraRuleDocs, ESLintUtils.RuleListener>;
|
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import { ESLintUtils } from '@typescript-eslint/utils';
|
|
2
2
|
import { ExtraRuleDocs } from '../../types';
|
|
3
|
-
|
|
4
3
|
export declare const name = "stable-query-client";
|
|
5
4
|
export declare const rule: ESLintUtils.RuleModule<string, readonly unknown[], ExtraRuleDocs, ESLintUtils.RuleListener>;
|
package/dist/esm/rules.d.ts
CHANGED