bluwy / publint

Lint packaging errors
https://publint.dev
MIT License
960 stars 21 forks source link

Publint suggestions to replace dependencies #98

Open kravetsone opened 3 months ago

kravetsone commented 3 months ago

What if publint suggests to replace dependencies as part of e18e.dev? (I know that @bluwy is already taking the initiative there)

The e18e project is an initiative to bring together the groups and individuals who are passionate about improving performance of the JavaScript ecosystem.

Many ongoing efforts are already happening in this space, from dependency tree cleanups to performance optimizations, and much more.

I think this is something that publint could do (although it may be quite controversial), but it would help developers to notice more dependencies that need to be replaced without usage of eslint plugins and etc

I think it would also look good in an publint VS Code extension

image

I understand that perhaps publint has slightly different goals, but it could be useful

similar: es-tooling/module-replacements es-tooling/eslint-plugin-depend danielroe/unplugin-purge-polyfills

bluwy commented 3 months ago

I think it could be interesting if included in core, but perhaps at a later time once I finished building a plugin API so it can be experimented as a plugin first. It would indeed be controversial, but I think it has some value to push towards publishing leaner dependencies. I'll mark this as a future enhancement for now.

kravetsone commented 3 months ago

I think it could be interesting if included in core, but perhaps at a later time once I finished building a plugin API so it can be experimented as a plugin first. It would indeed be controversial, but I think it has some value to push towards publishing leaner dependencies. I'll mark this as a future enhancement for now.

Great! I am glad how we aim for a better future) Also thanks for the post about my extension repository) I was very surprised and glad!