Skip to content

Commit cea2d58

Browse files
authored
Revert "feat(eslint-plugin): no void queryFn (#8878)" (#8880)
This reverts commit c2e5272.
1 parent c2e5272 commit cea2d58

File tree

8 files changed

+0
-464
lines changed

8 files changed

+0
-464
lines changed

docs/eslint/eslint-plugin-query.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -98,4 +98,3 @@ Alternatively, add `@tanstack/query` to the plugins section, and configure the r
9898
- [@tanstack/query/stable-query-client](./stable-query-client.md)
9999
- [@tanstack/query/no-unstable-deps](./no-unstable-deps.md)
100100
- [@tanstack/query/infinite-query-property-order](./infinite-query-property-order.md)
101-
- [@tanstack/query/no-void-query-fn](./no-void-query-fn.md)

docs/eslint/no-void-query-fn.md

Lines changed: 0 additions & 39 deletions
This file was deleted.

packages/eslint-plugin-query/src/__tests__/no-void-query-fn.test.ts

Lines changed: 0 additions & 325 deletions
This file was deleted.

packages/eslint-plugin-query/src/__tests__/ts-fixture/file.ts

Lines changed: 0 additions & 1 deletion
This file was deleted.

packages/eslint-plugin-query/src/__tests__/ts-fixture/tsconfig.json

Lines changed: 0 additions & 10 deletions
This file was deleted.

packages/eslint-plugin-query/src/index.ts

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,6 @@ Object.assign(plugin.configs, {
3030
'@tanstack/query/stable-query-client': 'error',
3131
'@tanstack/query/no-unstable-deps': 'error',
3232
'@tanstack/query/infinite-query-property-order': 'error',
33-
'@tanstack/query/no-void-query-fn': 'error',
3433
},
3534
},
3635
'flat/recommended': [
@@ -45,7 +44,6 @@ Object.assign(plugin.configs, {
4544
'@tanstack/query/stable-query-client': 'error',
4645
'@tanstack/query/no-unstable-deps': 'error',
4746
'@tanstack/query/infinite-query-property-order': 'error',
48-
'@tanstack/query/no-void-query-fn': 'error',
4947
},
5048
},
5149
],

0 commit comments

Comments
 (0)