clj-kondo

https://github.com/clj-kondo/clj-kondo
martinklepsch 2021-01-16T13:03:20.022200Z

I’d like a fuzzy var finder in my editor and I like the idea of using clj-kondo for it since it doesn’t require a REPL connection etc. How would I go about getting that metadata from clj-kondo?

borkdude 2021-01-16T13:05:03.022500Z

@martinklepsch This page should get you going: https://github.com/clj-kondo/clj-kondo/blob/master/analysis/README.md

borkdude 2021-01-16T13:06:05.023200Z

@martinklepsch An example script I've built recently with bb + clj-kondo to get an API diff: https://gist.github.com/borkdude/ba372c8cee311e31020b04063d88e1be

clyfe 2021-01-16T16:55:30.025200Z

Via calva > lsp > kondo (I think..): > Unused declaration: foo clojure-lsp(unused-public) Tried: #_{:clj-kondo/ignore [:unused-public]} but that does not ignore.

borkdude 2021-01-16T16:56:35.025700Z

@claudius.nicolae The issue in that channel is that the warning is coming from clojure-lsp, not from clj-kondo itself

borkdude 2021-01-16T16:56:43.025900Z

So it's not a clj-kondo issue

👍 1