knip icon indicating copy to clipboard operation
knip copied to clipboard

💡 Add a Gulp plugin

Open pjonsson opened this issue 9 months ago • 3 comments

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.

pjonsson avatar Feb 25 '25 13:02 pjonsson

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

webpro avatar Feb 25 '25 16:02 webpro

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.

pjonsson avatar Mar 04 '25 13:03 pjonsson

Gotcha, no worries! Someone else could pick it up too.

webpro avatar Mar 04 '25 15:03 webpro

Knip doesn't want to leave anyone behind, but demand for this seems low. Still happy to consider a pull request of course.

webpro avatar May 08 '25 05:05 webpro