TanStack / query

πŸ€– Powerful asynchronous state management, server-state utilities and data fetching for the web. TS/JS, React Query, Solid Query, Svelte Query and Vue Query.
https://tanstack.com/query
MIT License
42.75k stars 2.92k forks source link

fix(eslint-plugin-query): ignore all non-identifier properties in rule `infinite-query-property-order` #8158

Closed schiller-manuel closed 1 month ago

schiller-manuel commented 1 month ago

fixes #8156

nx-cloud[bot] commented 1 month ago

☁️ Nx Cloud Report

CI is running/has finished running commands for commit 4d185503488e47ca003de053d8adadb6a953c0dc. As they complete they will appear below. Click to see the status, the terminal output, and the build insights.

πŸ“‚ See all runs for this CI Pipeline Execution


βœ… Successfully ran 2 targets - [`nx affected --targets=test:sherif,test:knip,test:eslint,test:lib,test:types,test:build,build --parallel=3`](https://cloud.nx.app/runs/hO3H2YiXf1?utm_source=pull-request&utm_medium=comment) - [`nx run-many --target=build --exclude=examples/** --exclude=integrations/**`](https://cloud.nx.app/runs/qdn4YhZQjs?utm_source=pull-request&utm_medium=comment)

Sent with πŸ’Œ from NxCloud.

pkg-pr-new[bot] commented 1 month ago

Open in Stackblitz

More templates

- [@tanstack/query-example-angular-basic](https://pkg.pr.new/template/8eb89254-95c6-41ef-a4e1-94f88baa6790) - [@tanstack/query-example-angular-infinite-query-with-max-pages](https://pkg.pr.new/template/ff9beeef-91e2-488e-8263-bf7a64aef3cb) - [@tanstack/query-example-angular-pagination](https://pkg.pr.new/template/d1a18691-2e33-4d7c-bce0-90b938eba642) - [@tanstack/query-example-angular-router](https://pkg.pr.new/template/4842ca69-9c10-428d-a17b-d358d5cab3da) - [@tanstack/query-example-angular-rxjs](https://pkg.pr.new/template/c6360617-b646-4bfe-af58-74b019e43f87) - [@tanstack/query-example-angular-simple](https://pkg.pr.new/template/897f2c09-561b-4deb-8abc-f5da236951bd) - [@tanstack/query-example-react-algolia](https://pkg.pr.new/template/af1c673d-8587-4cbd-8567-ec25f0fc4247) - [@tanstack/query-example-react-auto-refetching](https://pkg.pr.new/template/71027106-1678-4738-af9c-bdbf5bae3070) - [@tanstack/query-example-react-basic](https://pkg.pr.new/template/1b106f4b-be61-4155-b7cc-12a99d219959) - [@tanstack/query-example-react-basic-graphql-request](https://pkg.pr.new/template/3d06a20b-4158-402b-90de-936671a377a0) - [@tanstack/query-example-react-default-query-function](https://pkg.pr.new/template/29115c43-b1ff-479e-b922-15a0b1b22b37) - [@tanstack/query-example-react-devtools-panel](https://pkg.pr.new/template/a9a63c6f-e464-4b06-9989-1451c562fdce) - [@tanstack/query-example-react-infinite-query-with-max-pages](https://pkg.pr.new/template/8f8c9865-201c-4941-84ea-61f40fd1ac0d) - [@tanstack/query-example-react-load-more-infinite-scroll](https://pkg.pr.new/template/f19e32ae-374f-40f4-a70d-8db44b5726ad) - [@tanstack/query-example-react-nextjs](https://pkg.pr.new/template/5e97ee8c-df25-4a84-b8f2-123f5e3fbf11) - [@tanstack/query-example-react-nextjs-app-prefetching](https://pkg.pr.new/template/641441dc-503e-4a6e-a90e-faf01a341545) - [@tanstack/query-example-nextjs-suspense-streaming](https://pkg.pr.new/template/3ac37e4d-2fb1-4dcd-b321-b616e95b970e) - [@tanstack/query-example-react-offline](https://pkg.pr.new/template/251091be-4173-4bc7-b740-b9158c1af049) - [@tanstack/query-example-react-optimistic-updates-cache](https://pkg.pr.new/template/4567ddad-b389-43c7-9950-b787bfe3440b) - [@tanstack/query-example-react-optimistic-updates-ui](https://pkg.pr.new/template/8e4aa1b7-94e4-4d9b-ba6f-b05bc05ac431) - [@tanstack/query-example-react-pagination](https://pkg.pr.new/template/328f0bfc-d15d-45f0-9036-7dcc9f1e8a4b) - [@tanstack/query-example-react-playground](https://pkg.pr.new/template/a52263cc-d7d5-4fe8-af59-c5b75825fc69) - [@tanstack/query-example-react-prefetching](https://pkg.pr.new/template/e577a736-0efa-4eda-8da3-2c197ebd54b4) - [@tanstack/query-example-react-react-native](https://pkg.pr.new/template/552a068c-8a24-4b15-8b7c-0151535a32ca) - [@tanstack/query-example-react-router](https://pkg.pr.new/template/556901e2-79d2-4b61-a04e-d38592294562) - [@tanstack/query-example-react-rick-morty](https://pkg.pr.new/template/a7dcbd50-67ff-4594-a7d2-11f183821712) - [@tanstack/query-example-react-shadow-dom](https://pkg.pr.new/template/1732643c-aec4-474b-b4a1-a8b0550d6df1) - [@tanstack/query-example-react-simple](https://pkg.pr.new/template/8c08adee-db0f-4c03-a615-f9e9b5e7273e) - [@tanstack/query-example-react-star-wars](https://pkg.pr.new/template/b0069c1e-3600-409d-bdfb-106ebbb0207d) - [@tanstack/query-example-react-suspense](https://pkg.pr.new/template/398ebe6a-d782-4ca6-a84b-cbb8b996824b) - [@tanstack/query-example-solid-astro](https://pkg.pr.new/template/fdaf2255-31af-4f46-a754-ba0266189c6f) - [@tanstack/query-example-solid-basic](https://pkg.pr.new/template/659285a3-0e5c-4066-bebf-62ddb4d5d59b) - [@tanstack/query-example-solid-basic-graphql-request](https://pkg.pr.new/template/fa0359c3-1da3-4e38-be1d-5c0f63f8730c) - [@tanstack/query-example-solid-default-query-function](https://pkg.pr.new/template/3ba039b6-9974-489d-8c10-2abf2ad2943d) - [@tanstack/query-example-solid-simple](https://pkg.pr.new/template/efa9d61e-4cc0-4d57-8cf1-44db80cd743d) - [@tanstack/query-example-solid-start-streaming](https://pkg.pr.new/template/1c5ff654-1a6d-4e0c-bd5a-f18c9e5dd119) - [@tanstack/query-example-svelte-auto-refetching](https://pkg.pr.new/template/fcd0be47-c18a-46cb-b1be-86f27e4b0341) - [@tanstack/query-example-svelte-basic](https://pkg.pr.new/template/159495b2-6f49-45fb-b5ec-10e9a6af7afc) - [@tanstack/query-example-svelte-load-more-infinite-scroll](https://pkg.pr.new/template/335d1928-bb7d-41f3-8215-e2de427b6f9f) - [@tanstack/query-example-svelte-optimistic-updates](https://pkg.pr.new/template/7f984e79-60fe-4532-aacd-304847e006a4) - [@tanstack/query-example-svelte-playground](https://pkg.pr.new/template/206a530e-e37a-407e-959b-594635bc8363) - [@tanstack/query-example-svelte-simple](https://pkg.pr.new/template/b919c677-a125-4cbc-9427-d18e104b33ae) - [@tanstack/query-example-svelte-ssr](https://pkg.pr.new/template/14e9c54e-57f0-4680-aee0-c2e074fdcafa) - [@tanstack/query-example-svelte-star-wars](https://pkg.pr.new/template/912051dd-f858-4749-93e3-fbb0bd8be9fd) - [@tanstack/query-example-vue-2.6-basic](https://pkg.pr.new/template/4388a85a-573a-4e03-aa50-6499124304dc) - [@tanstack/query-example-vue-2.7-basic](https://pkg.pr.new/template/33e9cac4-2574-452e-b0a3-76a12a24a21b) - [@tanstack/query-example-vue-basic](https://pkg.pr.new/template/f7a9b4c1-f5ec-4615-885b-5b417695a334) - [@tanstack/query-example-vue-dependent-queries](https://pkg.pr.new/template/5f15e164-aed3-4d78-a4ec-bdf49894ffcb) - [@tanstack/query-example-vue-nuxt3](https://pkg.pr.new/template/1f0c54b2-40de-4f77-953a-9c20ebda5d28) - [@tanstack/query-example-vue-persister](https://pkg.pr.new/template/9b53305e-2dfe-4953-b07c-8f291065a26f) - [@tanstack/query-example-vue-simple](https://pkg.pr.new/template/6abfaf4e-63d5-40f9-87ad-7d6bc5315cb7)

@tanstack/angular-query-devtools-experimental

``` pnpm add https://pkg.pr.new/@tanstack/angular-query-devtools-experimental@8158 ```

@tanstack/angular-query-experimental

``` pnpm add https://pkg.pr.new/@tanstack/angular-query-experimental@8158 ```

@tanstack/query-async-storage-persister

``` pnpm add https://pkg.pr.new/@tanstack/query-async-storage-persister@8158 ```

@tanstack/query-broadcast-client-experimental

``` pnpm add https://pkg.pr.new/@tanstack/query-broadcast-client-experimental@8158 ```

@tanstack/query-core

``` pnpm add https://pkg.pr.new/@tanstack/query-core@8158 ```

@tanstack/query-devtools

``` pnpm add https://pkg.pr.new/@tanstack/query-devtools@8158 ```

@tanstack/query-persist-client-core

``` pnpm add https://pkg.pr.new/@tanstack/query-persist-client-core@8158 ```

@tanstack/query-sync-storage-persister

``` pnpm add https://pkg.pr.new/@tanstack/query-sync-storage-persister@8158 ```

@tanstack/react-query

``` pnpm add https://pkg.pr.new/@tanstack/react-query@8158 ```

@tanstack/react-query-next-experimental

``` pnpm add https://pkg.pr.new/@tanstack/react-query-next-experimental@8158 ```

@tanstack/react-query-devtools

``` pnpm add https://pkg.pr.new/@tanstack/react-query-devtools@8158 ```

@tanstack/react-query-persist-client

``` pnpm add https://pkg.pr.new/@tanstack/react-query-persist-client@8158 ```

@tanstack/solid-query

``` pnpm add https://pkg.pr.new/@tanstack/solid-query@8158 ```

@tanstack/solid-query-devtools

``` pnpm add https://pkg.pr.new/@tanstack/solid-query-devtools@8158 ```

@tanstack/solid-query-persist-client

``` pnpm add https://pkg.pr.new/@tanstack/solid-query-persist-client@8158 ```

@tanstack/svelte-query

``` pnpm add https://pkg.pr.new/@tanstack/svelte-query@8158 ```

@tanstack/svelte-query-devtools

``` pnpm add https://pkg.pr.new/@tanstack/svelte-query-devtools@8158 ```

@tanstack/svelte-query-persist-client

``` pnpm add https://pkg.pr.new/@tanstack/svelte-query-persist-client@8158 ```

@tanstack/vue-query

``` pnpm add https://pkg.pr.new/@tanstack/vue-query@8158 ```

@tanstack/vue-query-devtools

``` pnpm add https://pkg.pr.new/@tanstack/vue-query-devtools@8158 ```

@tanstack/eslint-plugin-query

``` pnpm add https://pkg.pr.new/@tanstack/eslint-plugin-query@8158 ```

commit: 4d18550

codecov[bot] commented 1 month ago

Codecov Report

All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 88.28%. Comparing base (2fe16e5) to head (4d18550). Report is 15 commits behind head on main.

Additional details and impacted files [![Impacted file tree graph](https://app.codecov.io/gh/TanStack/query/pull/8158/graphs/tree.svg?width=650&height=150&src=pr&token=jqEbswkEDQ&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=TanStack)](https://app.codecov.io/gh/TanStack/query/pull/8158?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=TanStack) ```diff @@ Coverage Diff @@ ## main #8158 +/- ## =========================================== + Coverage 45.41% 88.28% +42.86% =========================================== Files 200 15 -185 Lines 7456 495 -6961 Branches 1696 184 -1512 =========================================== - Hits 3386 437 -2949 + Misses 3694 44 -3650 + Partials 376 14 -362 ``` | [Components](https://app.codecov.io/gh/TanStack/query/pull/8158/components?src=pr&el=components&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=TanStack) | Coverage Ξ” | | |---|---|---| | [@tanstack/angular-query-devtools-experimental](https://app.codecov.io/gh/TanStack/query/pull/8158/components?src=pr&el=component&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=TanStack) | `βˆ… <ΓΈ> (βˆ…)` | | | [@tanstack/angular-query-experimental](https://app.codecov.io/gh/TanStack/query/pull/8158/components?src=pr&el=component&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=TanStack) | `βˆ… <ΓΈ> (βˆ…)` | | | [@tanstack/eslint-plugin-query](https://app.codecov.io/gh/TanStack/query/pull/8158/components?src=pr&el=component&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=TanStack) | `88.28% <100.00%> (+0.45%)` | :arrow_up: | | [@tanstack/query-async-storage-persister](https://app.codecov.io/gh/TanStack/query/pull/8158/components?src=pr&el=component&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=TanStack) | `βˆ… <ΓΈ> (βˆ…)` | | | [@tanstack/query-broadcast-client-experimental](https://app.codecov.io/gh/TanStack/query/pull/8158/components?src=pr&el=component&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=TanStack) | `βˆ… <ΓΈ> (βˆ…)` | | | [@tanstack/query-codemods](https://app.codecov.io/gh/TanStack/query/pull/8158/components?src=pr&el=component&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=TanStack) | `βˆ… <ΓΈ> (βˆ…)` | | | [@tanstack/query-core](https://app.codecov.io/gh/TanStack/query/pull/8158/components?src=pr&el=component&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=TanStack) | `βˆ… <ΓΈ> (βˆ…)` | | | [@tanstack/query-devtools](https://app.codecov.io/gh/TanStack/query/pull/8158/components?src=pr&el=component&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=TanStack) | `βˆ… <ΓΈ> (βˆ…)` | | | [@tanstack/query-persist-client-core](https://app.codecov.io/gh/TanStack/query/pull/8158/components?src=pr&el=component&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=TanStack) | `βˆ… <ΓΈ> (βˆ…)` | | | [@tanstack/query-sync-storage-persister](https://app.codecov.io/gh/TanStack/query/pull/8158/components?src=pr&el=component&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=TanStack) | `βˆ… <ΓΈ> (βˆ…)` | | | [@tanstack/react-query](https://app.codecov.io/gh/TanStack/query/pull/8158/components?src=pr&el=component&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=TanStack) | `βˆ… <ΓΈ> (βˆ…)` | | | [@tanstack/react-query-devtools](https://app.codecov.io/gh/TanStack/query/pull/8158/components?src=pr&el=component&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=TanStack) | `βˆ… <ΓΈ> (βˆ…)` | | | [@tanstack/react-query-next-experimental](https://app.codecov.io/gh/TanStack/query/pull/8158/components?src=pr&el=component&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=TanStack) | `βˆ… <ΓΈ> (βˆ…)` | | | [@tanstack/react-query-persist-client](https://app.codecov.io/gh/TanStack/query/pull/8158/components?src=pr&el=component&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=TanStack) | `βˆ… <ΓΈ> (βˆ…)` | | | [@tanstack/solid-query](https://app.codecov.io/gh/TanStack/query/pull/8158/components?src=pr&el=component&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=TanStack) | `βˆ… <ΓΈ> (βˆ…)` | | | [@tanstack/solid-query-devtools](https://app.codecov.io/gh/TanStack/query/pull/8158/components?src=pr&el=component&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=TanStack) | `βˆ… <ΓΈ> (βˆ…)` | | | [@tanstack/solid-query-persist-client](https://app.codecov.io/gh/TanStack/query/pull/8158/components?src=pr&el=component&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=TanStack) | `βˆ… <ΓΈ> (βˆ…)` | | | [@tanstack/svelte-query](https://app.codecov.io/gh/TanStack/query/pull/8158/components?src=pr&el=component&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=TanStack) | `βˆ… <ΓΈ> (βˆ…)` | | | [@tanstack/svelte-query-devtools](https://app.codecov.io/gh/TanStack/query/pull/8158/components?src=pr&el=component&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=TanStack) | `βˆ… <ΓΈ> (βˆ…)` | | | [@tanstack/svelte-query-persist-client](https://app.codecov.io/gh/TanStack/query/pull/8158/components?src=pr&el=component&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=TanStack) | `βˆ… <ΓΈ> (βˆ…)` | | | [@tanstack/vue-query](https://app.codecov.io/gh/TanStack/query/pull/8158/components?src=pr&el=component&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=TanStack) | `βˆ… <ΓΈ> (βˆ…)` | | | [@tanstack/vue-query-devtools](https://app.codecov.io/gh/TanStack/query/pull/8158/components?src=pr&el=component&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=TanStack) | `βˆ… <ΓΈ> (βˆ…)` | |