Skip to content

fix(eslint-plugin-query): add TypeScript 7 to peer dependency range - #11132

Open
hasnainraza1212 wants to merge 1 commit into
TanStack:mainfrom
hasnainraza1212:fix/11131
Open

fix(eslint-plugin-query): add TypeScript 7 to peer dependency range#11132
hasnainraza1212 wants to merge 1 commit into
TanStack:mainfrom
hasnainraza1212:fix/11131

Conversation

@hasnainraza1212

@hasnainraza1212 hasnainraza1212 commented Jul 31, 2026

Copy link
Copy Markdown

Summary

Test plan

  • pnpm nx run @tanstack/eslint-plugin-query:test:lib — 1709 tests pass
  • pnpm nx run @tanstack/eslint-plugin-query:test:eslint — pass
  • pnpm nx run @tanstack/eslint-plugin-query:test:types — pass (TS 5.4–6.0-rc matrix)
  • pnpm nx run @tanstack/eslint-plugin-query:build — pass
  • pnpm nx run @tanstack/eslint-plugin-query:test:build — pass
  • Manual typescript@7.0.2 --build on eslint-plugin-query — pass
  • Patch changeset included

Fixes #11131

Made with Cursor

Summary by CodeRabbit

  • Compatibility

    • Added support for TypeScript 7 in the ESLint plugin’s supported peer dependency range.
  • Release

    • Prepared a patch release reflecting the expanded TypeScript compatibility.

Fixes TanStack#11131

Expands the typescript peer dependency to include ^7.0.0 so the
package can be installed in projects using TypeScript 7.

Co-authored-by: Cursor <cursoragent@cursor.com>
@coderabbitai

coderabbitai Bot commented Jul 31, 2026

Copy link
Copy Markdown
Contributor

Review Change Stack

No actionable comments were generated in the recent review. 🎉

ℹ️ Recent review info
⚙️ Run configuration

Configuration used: defaults

Review profile: CHILL

Plan: Pro Plus

Run ID: b5f2f1a7-71b1-44a7-a0fb-a48f8c0ddfe4

📥 Commits

Reviewing files that changed from the base of the PR and between 9d24c45 and 699d60c.

⛔ Files ignored due to path filters (1)
  • pnpm-lock.yaml is excluded by !**/pnpm-lock.yaml
📒 Files selected for processing (2)
  • .changeset/typescript-7-peer-dep.md
  • packages/eslint-plugin-query/package.json

📝 Walkthrough

Walkthrough

The eslint plugin package now supports TypeScript 7 through its optional peer dependency range. A Changeset records the update as a patch release.

Changes

TypeScript 7 support

Layer / File(s) Summary
Update peer dependency and release metadata
packages/eslint-plugin-query/package.json, .changeset/typescript-7-peer-dep.md
The optional TypeScript peer dependency now includes ^7.0.0. A Changeset declares a patch release and documents the update.

Estimated code review effort: 1 (Trivial) | ~3 minutes

🚥 Pre-merge checks | ✅ 5
✅ Passed checks (5 passed)
Check name Status Explanation
Title check ✅ Passed The title clearly identifies the primary change: adding TypeScript 7 to the eslint-plugin-query peer dependency range.
Description check ✅ Passed The description explains the change, motivation, testing, and changeset, although it uses different headings from the repository template.
Linked Issues check ✅ Passed The PR updates the peer dependency to ^5.4.0 || ^6.0.0 || ^7.0.0 and addresses the installation conflict described in issue #11131.
Out of Scope Changes check ✅ Passed The changes are limited to the requested peer dependency update and its required patch changeset.
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

eslint-plugin-query to typescript 7

1 participant