knip
knip copied to clipboard
💡 Add a Gulp plugin
Suggest an idea for Knip
It would be nice with a plugin to support Gulp, which should be activated if there is a dependency/devDependency called gulp.
Looking at https://gulpjs.com/docs/en/getting-started/javascript-and-gulpfiles, it seems the gulpfile could be named {g,G}ulpfile.{j,t}s or gulpfile.babel.js.
Hi Peter! Thanks for the idea.
Any chance you would be up for a pull request? If so, here's a guide to get you started: https://knip.dev/guides/writing-a-plugin
I read your response and initially thought "that shouldn't be too hard, so I will look into it" but I still haven't gotten around to it and it keeps dropping in my list of priorities. Since JavaScript/TypeScript is not my natural habitat, I don't think I'll get around to it anytime soon, so if anyone else wants to fix this they're more than welcome to do so.
Sorry for the delay in responding, a bit too much time optimism from my side.
Gotcha, no worries! Someone else could pick it up too.
Knip doesn't want to leave anyone behind, but demand for this seems low. Still happy to consider a pull request of course.