🐛 False Unused devDependencies report for biome extensions
Prerequisites
- [X] I'm using the latest version
- [X] I've read the relevant documentation
- [X] I've searched for existing issues
- [X] I've checked the list of known issues
- [X] I've read the issue reproduction guide
Reproduction url
https://github.com/ianzone/react-storybook
Reproduction access
- [X] I've made sure the reproduction is publicly accessible
Description of the issue
knip reports
Unused devDependencies (2)
@storybook/blocks package.json
biome-extends package.json
While biome-extends is consumed by biome.json.
Thanks for the report, Yiheng! There's no Biome plugin yet, so this makes sense.
Would you like to add a plugin and submit a pull request?
Ok, I'll write it.
@ianzone if you don't get a chance to implement it, please post it here :)
@ianzone if you don't get a chance to implement it, please post it here *)
Hi, I'm getting busy this month. Many thanks if you're willing to take it
@ianzone I'm trying to reproduce your report. With your repo, shouldn't report be
Unused devDependencies (2)
@storybook/blocks package.json
@biomejs/biome package.json
instead of biome-extends ?
@ianzone I think I was able to find the culprit commit https://github.com/ianzone/react-storybook/commit/cb3450a581a3a042ec8a24d92592d66809835ac2#diff-32824c984905bb02bc7ffcef96a77addd1f1602cff71a11fbbfdd7f53ee026bb. My plugin implementation will support this use case.