Skip to content
Source
Sign inSign up
TanStack/query

chore(knip): rename 'knip.ts' to 'knip.config.ts' to match the other root config files #12694

Mergedsukvvon(GitHub profile, opens in a new tab)merged 1 commit intomain fromrefs/pull/12694/headmerged by sukvvon(GitHub profile, opens in a new tab) View on GitHub

sukvvon(GitHub profile, opens in a new tab)commented

🎯 Changes

  • Rename knip.ts to knip.config.ts, so it follows the same *.config.ts naming as oxfmt.config.ts and oxlint.config.ts at the root. Knip finds knip.config.ts by default, so no --config flag is needed.
  • Remove the separate knip.ts entry from include in the root tsconfig.json, since *.config.* now covers the file.

✅ Checklist

  • I have followed the steps in the Contributing guide.
  • I have tested code changes locally with pnpm run test:pr, or these tests do not apply to this pull request.
  • I have followed the AI contribution policy and fully understand the code in this pull request, including any code generated with AI assistance.

🚀 Release Impact

  • This change affects published code, and I have generated a changeset.
  • This change is docs/CI/dev-only (no release).

Summary by CodeRabbit

  • Chores
    • Updated project configuration. There are no changes to app functionality or the end-user experience.
    1. ⚠️ No Changeset found

      Latest commit: 4acdb7de4d5fdcb8c47180ee88ef5fb1765981d2

      Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

      This PR includes no changesets

      When changesets are added to this PR, you'll see the packages that this PR includes changesets for and the associated semver types

      Click here to learn what changesets are, and how to add one.

      Click here if you're a maintainer who wants to add a changeset to this PR

    2. tanstack-source added labelsdocs

    3. nx-cloud[bot](GitHub profile, opens in a new tab)commented

      View your CI Pipeline Execution ↗ for commit 4acdb7de4d5fdcb8c47180ee88ef5fb1765981d2

      CommandStatusDurationResult
      nx affected --targets=test:sherif,test:knip,tes...✅ Succeeded8m 20sView ↗
      nx run-many --target=build --exclude=examples/*...✅ Succeeded28sView ↗

      ☁️ Nx Cloud last updated this comment at 2026-11-24 11:04:42 UTC

    4. 🚀 Changeset Version Preview

      No changeset entries found. Merging this PR will not cause a version bump for any packages.

    5. coderabbitai[bot](GitHub profile, opens in a new tab)commented
      Explain Change →

      No actionable comments were generated in the recent review.

      Walkthrough

      The TypeScript configuration removes knip.ts from its include patterns. It retains the *.config.* pattern.

      Changes: TypeScript configuration

      Layer / File(s)Summary
      Update TypeScript include pattern
      tsconfig.json
      The include list removes knip.ts and retains the *.config.* pattern.

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

      Change: Other

      Suggested reviewers: dogpawhat

      Merge Risk: Minimal · up to 4acdb

      This is a dev-tooling rename with a matching tsconfig include cleanup. It has no runtime or release impact and carries no actionable merge risk.

      Pre-merge checks: Passed 4

      Check nameStatusExplanation
      Title checkPassedThe title names the main change: renaming knip.ts to knip.config.ts to match the other root config files. The raw summary describes only the tsconfig.json include change, and the PR description and ob…
      Description checkPassedThe description fills every template section: Changes (both the rename and the tsconfig.json include removal, with motivation), the Checklist, and Release Impact (marked docs/CI/dev-only). It matches …
      Linked Issues checkPassedCheck skipped because no linked issues were found for this pull request.
      Out of Scope Changes checkPassedCheck skipped because no linked issues were found for this pull request.
      Full details: Title check

      Explanation

      The title names the main change: renaming knip.ts to knip.config.ts to match the other root config files. The raw summary describes only the tsconfig.json include change, and the PR description and objectives describe the rename itself as the primary change, so the title is related to the changeset. The title uses the conventional 'chore(knip):' prefix and is specific.

      Full details: Description check

      Explanation

      The description fills every template section: Changes (both the rename and the tsconfig.json include removal, with motivation), the Checklist, and Release Impact (marked docs/CI/dev-only). It matches the template structure and gives the required information. The checklist items are marked as complete, and the author states that test:pr was run or does not apply.

      Finishing Touches

      Generate unit tests (beta)

      • Commit to this branch
      • Create a new PR
      • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

      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

      Recent review info

      Run configuration

      Commits

      Reviewing files that changed from the base of the PR and between 0d7eed6c677ea03e1f73eeca003837e1e6f4d95d and 4acdb7de4d5fdcb8c47180ee88ef5fb1765981d2.

      Files selected for processing: 2

      • knip.config.ts
      • tsconfig.json

      Included review availability: This review used your included allowance. Your plan provides up to 10 included reviews per hour; 9 remain after this review.

    6. More templates

      @tanstack/angular-query

      npm i https://pkg.pr.new/@tanstack/angular-query@12694

      @tanstack/angular-query-devtools

      npm i https://pkg.pr.new/@tanstack/angular-query-devtools@12694

      @tanstack/angular-query-persist-client

      npm i https://pkg.pr.new/@tanstack/angular-query-persist-client@12694

      @tanstack/eslint-plugin-query

      npm i https://pkg.pr.new/@tanstack/eslint-plugin-query@12694

      @tanstack/lit-query

      npm i https://pkg.pr.new/@tanstack/lit-query@12694

      @tanstack/preact-query

      npm i https://pkg.pr.new/@tanstack/preact-query@12694

      @tanstack/preact-query-devtools

      npm i https://pkg.pr.new/@tanstack/preact-query-devtools@12694

      @tanstack/preact-query-persist-client

      npm i https://pkg.pr.new/@tanstack/preact-query-persist-client@12694

      @tanstack/query-async-storage-persister

      npm i https://pkg.pr.new/@tanstack/query-async-storage-persister@12694

      @tanstack/query-broadcast-client-experimental

      npm i https://pkg.pr.new/@tanstack/query-broadcast-client-experimental@12694

      @tanstack/query-core

      npm i https://pkg.pr.new/@tanstack/query-core@12694

      @tanstack/query-devtools

      npm i https://pkg.pr.new/@tanstack/query-devtools@12694

      @tanstack/query-persist-client-core

      npm i https://pkg.pr.new/@tanstack/query-persist-client-core@12694

      @tanstack/query-sync-storage-persister

      npm i https://pkg.pr.new/@tanstack/query-sync-storage-persister@12694

      @tanstack/react-query

      npm i https://pkg.pr.new/@tanstack/react-query@12694

      @tanstack/react-query-devtools

      npm i https://pkg.pr.new/@tanstack/react-query-devtools@12694

      @tanstack/react-query-next-experimental

      npm i https://pkg.pr.new/@tanstack/react-query-next-experimental@12694

      @tanstack/react-query-persist-client

      npm i https://pkg.pr.new/@tanstack/react-query-persist-client@12694

      @tanstack/solid-query

      npm i https://pkg.pr.new/@tanstack/solid-query@12694

      @tanstack/solid-query-devtools

      npm i https://pkg.pr.new/@tanstack/solid-query-devtools@12694

      @tanstack/solid-query-persist-client

      npm i https://pkg.pr.new/@tanstack/solid-query-persist-client@12694

      @tanstack/svelte-query

      npm i https://pkg.pr.new/@tanstack/svelte-query@12694

      @tanstack/svelte-query-devtools

      npm i https://pkg.pr.new/@tanstack/svelte-query-devtools@12694

      @tanstack/svelte-query-persist-client

      npm i https://pkg.pr.new/@tanstack/svelte-query-persist-client@12694

      @tanstack/vue-query

      npm i https://pkg.pr.new/@tanstack/vue-query@12694

      @tanstack/vue-query-devtools

      npm i https://pkg.pr.new/@tanstack/vue-query-devtools@12694

      commit: 4acdb7d

    7. size-limit report 📦

      PathSize
      react full11.96 KB (0%)
      react minimal8.71 KB (0%)

Sign in to join this conversation.