clj-kondo

dgr 2025-09-12T18:23:01.876349Z

I’m running into trouble trying to get clj-kondo to correctly lint a file that include Slingshot try+ macros. In the catch block, it’s generating an “Unresolved symbol” error for the exception binding symbol. I have looked in my .clj-kondo directory and I see configs for other libraries that I’m using. So, for instance, if I run:

$ clj-kondo --lint "$(clojure -Spath)" --copy-configs --skip-lint
Configs copied:
- .clj-kondo/imports/babashka/fs
- .clj-kondo/imports/clj-commons/aleph
- .clj-kondo/imports/etaoin/etaoin
- .clj-kondo/imports/manifold/manifold
- .clj-kondo/imports/metosin/malli
- .clj-kondo/imports/org.clj-commons/byte-streams
- .clj-kondo/imports/potemkin/potemkin
linting took 201ms, errors: 0, warnings: 0
Slingshot is in my deps.edn project file. Any ideas why clj-kondo isn’t picking up anything for Slingshot?

✅ 1
2025-09-12T18:24:52.055729Z

those libraries ship with configs that kondo can use to understand their macros, slingshot doesn't

borkdude 2025-09-12T18:25:06.402659Z

slingshot doesn't have a config bundled, but if you add this library you will get support:

{io.github.clj-kondo/config-slingshot-slingshot 

:git/url ""
         :git/sha "<sha>"
         :deps/root "configs/slingshot/slingshot"}

borkdude 2025-09-12T18:25:20.631349Z

the newest git/sha you can get from : https://github.com/clj-kondo/configs

borkdude 2025-09-12T18:25:39.433329Z

unfortunately the author of slingshot passed away

😥 6
dgr 2025-09-12T18:34:00.416039Z

Gotcha. Thanks.

dgr 2025-09-13T20:30:42.448329Z

@borkdude is there anybody maintaining Slingshot? Seems like one of those projects that would be good to slide over to clj-commons. It’s mature, wouldn’t take a lot of work to maintain, but would allow things like the clj-kondo work to be integrated.

borkdude 2025-09-13T20:37:16.715169Z

Seems like a good candidate - propose it in #clj-commons

👍 1