Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Report unused dependencies #64

Open
borkdude opened this issue Oct 21, 2021 · 2 comments
Open

Report unused dependencies #64

borkdude opened this issue Oct 21, 2021 · 2 comments
Labels

Comments

@borkdude
Copy link
Owner

Approach, inspired by deps-infer: https://github.com/borkdude/deps-infer

1 Which namespaces are required in paths
2 Lint libraries one by one from deps.edn so we know which namespaces belong to which libraries
3 If there are libraries of which no namespace was used, report them as unused (and/or interactively remove)

/cc @lread Perhaps this seems like a fun issue to look into, no pressure though!

@lread
Copy link
Contributor

lread commented Oct 22, 2021

Thanks for the ping. It does look interesting, and I just might wander back here to look at it sometime. I won't be offended if someone else beats me to it!

@borkdude
Copy link
Owner Author

I'm not sure actually if I want to have this in carve, or clj-kondo proper or in its own project, or perhaps in deps-infer. I'll mark this issue as "hammock".

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants