Skip to content

Add Sanity plugin#1608

Merged
webpro merged 1 commit intowebpro-nl:mainfrom
jonahsnider:sanity
Mar 17, 2026
Merged

Add Sanity plugin#1608
webpro merged 1 commit intowebpro-nl:mainfrom
jonahsnider:sanity

Conversation

@jonahsnider
Copy link
Contributor

Adds a plugin to detect configuration files for Sanity projects:

  • sanity.config.{js,jsx,ts,tsx} - Sanity studio config
  • sanity.cli.{ts,js} - CLI config
  • sanity.blueprint.{ts,js,json} - Blueprints config

We're big Knip users internally at Sanity, only fair that we make it work well with Knip out of the box :)

Signed-off-by: Jonah Snider <jonah@jonahsnider.com>
@pkg-pr-new
Copy link

pkg-pr-new bot commented Mar 13, 2026

Open in StackBlitz

npm i https://pkg.pr.new/knip@1608
npm i https://pkg.pr.new/@knip/language-server@1608
npm i https://pkg.pr.new/@knip/mcp@1608

commit: 64fc0a1

@webpro webpro merged commit f777834 into webpro-nl:main Mar 17, 2026
29 checks passed
@webpro
Copy link
Member

webpro commented Mar 17, 2026

The Circle of Li.. OSS! ♻️ Thank you!

@jonahsnider jonahsnider deleted the sanity branch March 18, 2026 01:09
@webpro
Copy link
Member

webpro commented Mar 18, 2026

🚀 This pull request is included in v5.88.0. See Release 5.88.0 for release notes.

Using Knip in a commercial project? Please consider becoming a sponsor.

@webpro
Copy link
Member

webpro commented Mar 19, 2026

🚀 This pull request is included in v6.0.0-2. See Release 6.0.0-2 for release notes.

Using Knip in a commercial project? Please consider becoming a sponsor.

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.

2 participants