Elektrine lite

← Feed

@diondiondion@indieweb.social

2026-06-19 18:15 UTC

@rolle@mementomori.social Oh, that stylelint plugin for detecting unused custom properties is something we've been looking for! I think the existing lib on npm only works for plain CSS. Would you be interested in contributing this to core, or putting it up on NPM if it's generic enough?

Replies (1)

  • @rolle@mementomori.social 2026-06-19 18:57

    @diondiondion@indieweb.social Glad you think it could be useful! I can put something together and send a PR to add it to the core. It's small enough that including it in-tree is probably the easiest option. I'm happy to adjust it to match your stylelint setup, and I can test it against main. What I'm not interested in right now is maintaining another npm package, I already have too many. I agree, there aren't many SCSS stylelint plugins out there, I'm already maintaining a few older ones.

    Open ##5201005