Feat bump typescript eslint to v8 #72
Annotations
3 errors
src/configs/react.spec.ts > reactConfig > should create config w/ @tanstack/query rules:
src/configs/react.spec.ts#L9
Error: Snapshot `reactConfig > should create config w/ @tanstack/query rules 1` mismatched
- Expected
+ Received
@@ -9513,131 +9513,129 @@
"**/*.?([cm])tsx",
],
"name": "jimmy.codes/react/query",
"plugins": {
"@tanstack/query": {
- "default": {
- "configs": {
- "flat/recommended": [
- {
- "plugins": {
- "@tanstack/query": [Circular],
- },
- "rules": {
- "@tanstack/query/exhaustive-deps": "error",
- "@tanstack/query/infinite-query-property-order": "error",
- "@tanstack/query/no-rest-destructuring": "warn",
- "@tanstack/query/no-unstable-deps": "error",
- "@tanstack/query/stable-query-client": "error",
- },
+ "configs": {
+ "flat/recommended": [
+ {
+ "plugins": {
+ "@tanstack/query": [Circular],
},
- ],
- "recommended": {
- "plugins": [
- "@tanstack/query",
- ],
"rules": {
"@tanstack/query/exhaustive-deps": "error",
"@tanstack/query/infinite-query-property-order": "error",
"@tanstack/query/no-rest-destructuring": "warn",
"@tanstack/query/no-unstable-deps": "error",
"@tanstack/query/stable-query-client": "error",
},
+ },
+ ],
+ "recommended": {
+ "plugins": [
+ "@tanstack/query",
+ ],
+ "rules": {
+ "@tanstack/query/exhaustive-deps": "error",
+ "@tanstack/query/infinite-query-property-order": "error",
+ "@tanstack/query/no-rest-destructuring": "warn",
+ "@tanstack/query/no-unstable-deps": "error",
+ "@tanstack/query/stable-query-client": "error",
},
},
- "meta": {
- "name": "@tanstack/eslint-plugin-query",
+ },
+ "meta": {
+ "name": "@tanstack/eslint-plugin-query",
+ },
+ "rules": {
+ "exhaustive-deps": {
+ "create": [Function],
+ "defaultOptions": [],
+ "meta": {
+ "docs": {
+ "description": "Exhaustive deps rule for useQuery",
+ "recommended": "error",
+ "url": "https://tanstack.com/query/latest/docs/eslint/exhaustive-deps",
+ },
+ "fixable": "code",
+ "hasSuggestions": true,
+ "messages": {
+ "fixTo": "Fix to {{result}}",
+ "missingDeps": "The following dependencies are missing in your queryKey: {{deps}}",
+ },
+ "schema": [],
+ "type": "problem",
+ },
},
- "rules": {
- "exhaustive-deps": {
- "create": [Function],
- "defaultOptions": [],
- "meta": {
- "docs": {
- "description": "Exhaustive deps rule for useQuery",
- "recommended": "error",
- "url": "https://tanstack.com/query/latest/docs/eslint/exhaustive-deps",
- },
- "fixable": "code",
- "hasSuggestions": true,
- "messages": {
- "fixTo": "Fix to {{result}}",
- "missingDeps": "The following dependencies are missing in your queryKey: {{deps}}",
- },
- "schema": [],
- "type": "problem",
+ "infinite-query-property-order": {
+ "create": [Function],
+ "defaultOptions": [],
+ "meta": {
+ "docs": {
+ "description": "Ensure correct order of inference sensitive properties for infinite queries",
+ "recommended
|
code_check (20)
Process completed with exit code 1.
|
code_check (22)
The job was canceled because "_20" failed.
|