lsp 2024-09-21

Is there some way to get notified of circular dependencies the moment they are introduced via clj-kondo or clojure-lsp's extensions to kondo?

👀 1

clojure-lsp should be able to do this, technically based on analysis from kondo. not sure if it does currently

what you mean introduced? added to http://project.cl/deps.edn etc?

but sounds like a good linter indeed

I think he means circular namespaces

ah yeah, makes sense

feel free to create a issue @magnars we have a dependency-graph structure in clojure-lsp which should make easier to achieve that

Excellent, glad to hear it is on the table as a feature. 😊 Issue added here: https://github.com/clojure-lsp/clojure-lsp/issues/1884