Skip to content
Source
Sign inSign up
TanStack/query

chore(oxlint.config): update 'oxlint' to v1.95.0 and replace 'vitest-js/valid-expect' with the native 'vitest/valid-expect' #12693

Mergedsukvvon(GitHub profile, opens in a new tab)merged 2 commits intomain fromrefs/pull/12693/headmerged by sukvvon(GitHub profile, opens in a new tab) View on GitHub

Showing 8 changed files with 3 additions and 3 deletions (loading 4).

x
0 of 8 viewed, 8 left
1 addition and 1 deletionpackages/lit-query/src/__tests__/createQueriesController.test-d.tsModified
View file
@@ -976,7 +976,7 @@
queryFn:
fn && fn !== skipToken
? (ctx: QueryFunctionContext<TQueryKey>) => {
- // oxlint-disable-next-line vitest-js/valid-expect -- matchers cannot compare against an unresolved type parameter, so the type argument checks that 'ctx.queryKey' is assignable to 'TQueryKey'
+ // oxlint-disable-next-line vitest/valid-expect -- matchers cannot compare against an unresolved type parameter, so the type argument checks that 'ctx.queryKey' is assignable to 'TQueryKey'
expectTypeOf<TQueryKey>(ctx.queryKey)
return fn.call({}, ctx)
1 addition and 1 deletionpackages/preact-query/src/__tests__/useQueries.test-d.tsxModified
View file
@@ -805,7 +805,7 @@
queryFn:
fn && fn !== skipToken
? (ctx: QueryFunctionContext<TQueryKey>) => {
- // oxlint-disable-next-line vitest-js/valid-expect -- matchers cannot compare against an unresolved type parameter, so the type argument checks that 'ctx.queryKey' is assignable to 'TQueryKey'
+ // oxlint-disable-next-line vitest/valid-expect -- matchers cannot compare against an unresolved type parameter, so the type argument checks that 'ctx.queryKey' is assignable to 'TQueryKey'
expectTypeOf<TQueryKey>(ctx.queryKey)
return fn.call({}, ctx)
1 addition and 1 deletionpackages/react-query/src/__tests__/useQueries.test-d.tsxModified
View file
@@ -805,7 +805,7 @@
queryFn:
fn && fn !== skipToken
? (ctx: QueryFunctionContext<TQueryKey>) => {