@tanstack/eslint-plugin-query 5.0.0-alpha.17 → 5.0.0-alpha.34
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/build/.tsbuildinfo +1 -1
- package/build/lib/configs/index.d.ts +1 -0
- package/build/lib/configs/index.test.d.ts +1 -0
- package/build/lib/index.d.ts +1 -0
- package/build/lib/index.js +3 -3
- package/build/lib/rules/exhaustive-deps/exhaustive-deps.rule.d.ts +1 -0
- package/build/lib/rules/exhaustive-deps/exhaustive-deps.test.d.ts +1 -0
- package/build/lib/rules/exhaustive-deps/exhaustive-deps.utils.d.ts +10 -0
- package/build/lib/rules/index.d.ts +1 -0
- package/build/lib/utils/ast-utils.d.ts +1 -0
- package/build/lib/utils/create-rule.d.ts +1 -0
- package/build/lib/utils/detect-react-query-imports.d.ts +1 -0
- package/build/lib/utils/object-utils.d.ts +1 -0
- package/build/lib/utils/test-utils.d.ts +1 -0
- package/build/lib/utils/unique-by.d.ts +1 -0
- package/package.json +8 -1
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import type { TSESLint } from '@typescript-eslint/utils';
|
|
2
|
+
export declare const ExhaustiveDepsUtils: {
|
|
3
|
+
isRelevantReference(params: {
|
|
4
|
+
context: Readonly<TSESLint.RuleContext<string, readonly unknown[]>>;
|
|
5
|
+
reference: TSESLint.Scope.Reference;
|
|
6
|
+
scopeManager: TSESLint.Scope.ScopeManager;
|
|
7
|
+
}): boolean;
|
|
8
|
+
isQueryClientReference(reference: TSESLint.Scope.Reference): boolean;
|
|
9
|
+
};
|
|
10
|
+
//# sourceMappingURL=exhaustive-deps.utils.d.ts.map
|
|
@@ -5,3 +5,4 @@ declare type EslintRule = Omit<Parameters<ReturnType<typeof ESLintUtils.RuleCrea
|
|
|
5
5
|
};
|
|
6
6
|
export declare function createRule({ create, ...rest }: EslintRule): import("@typescript-eslint/utils/dist/ts-eslint/Rule").RuleModule<string, readonly unknown[], import("@typescript-eslint/utils/dist/ts-eslint/Rule").RuleListener>;
|
|
7
7
|
export {};
|
|
8
|
+
//# sourceMappingURL=create-rule.d.ts.map
|
|
@@ -8,3 +8,4 @@ declare type Helpers = {
|
|
|
8
8
|
export declare type EnhancedCreate = (context: Context, options: Options, helpers: Helpers) => ReturnType<Create>;
|
|
9
9
|
export declare function detectTanstackQueryImports(create: EnhancedCreate): Create;
|
|
10
10
|
export {};
|
|
11
|
+
//# sourceMappingURL=detect-react-query-imports.d.ts.map
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@tanstack/eslint-plugin-query",
|
|
3
|
-
"version": "5.0.0-alpha.
|
|
3
|
+
"version": "5.0.0-alpha.34",
|
|
4
4
|
"description": "ESLint plugin for TanStack Query",
|
|
5
5
|
"author": "Eliya Cohen",
|
|
6
6
|
"license": "MIT",
|
|
@@ -11,6 +11,13 @@
|
|
|
11
11
|
"url": "https://github.com/sponsors/tannerlinsley"
|
|
12
12
|
},
|
|
13
13
|
"main": "build/lib/index.js",
|
|
14
|
+
"exports": {
|
|
15
|
+
".": {
|
|
16
|
+
"require": "./build/lib/index.js",
|
|
17
|
+
"default": "./build/lib/index.js"
|
|
18
|
+
},
|
|
19
|
+
"./package.json": "./package.json"
|
|
20
|
+
},
|
|
14
21
|
"files": [
|
|
15
22
|
"build"
|
|
16
23
|
],
|