-
-
Notifications
You must be signed in to change notification settings - Fork 318
Open
Labels
feature requestFeature requestFeature request
Description
👋 @webpro!
Suggest an idea for Knip
I configured changesets/changesets using a local schema:
This might be better because if we have something like "$schema": "https://unpkg.com/@changesets/config/schema.json", the schema won't be necessarily in sync with the used package version.
If @changesets/config is defined in package.json, knip does not like it:
Unused devDependencies (1)
@changesets/config package.json:40:6
It’d be great if *.json → $schema fields were parsed by knip. If relative paths like ../../../node_modules/package-x/foo/bar were adding package-x to the list of used dev dependencies, there'd be no false positive. WDYT?
Metadata
Metadata
Assignees
Labels
feature requestFeature requestFeature request