clj-kondo

grzm 2026-01-23T17:06:14.456339Z

Hello! clj-kondo supports using hints like #_{:clj-kondo/ignore [:unused-binding]} to suppress warnings. I like this because it allows me to collocate the suppression with the related code (rather than relegating it to a config file, separating the code location from the suppression. (I know that doesn't make sense in this particular case, but bear with me for a moment): Since carve uses clj-kondo under the hood for analysis, would it be feasible to use hints like #_:carve/ignore to collocate suppression with code rather than necessitating a config file?

borkdude 2026-01-23T17:08:03.498179Z

I guess it could!

grzm 2026-01-23T17:09:16.991699Z

Cool. I was wondering if there were some fundamental reason it didn't already do so. Glad to hear that it's at least possible. Do you think it's reasonable?

borkdude 2026-01-23T17:09:43.649789Z

I think it's reasonable, but not high priority for me at the moment. I do accept PRs

borkdude 2026-01-23T17:09:53.301999Z

feel free to log an issue

grzm 2026-01-23T17:10:26.409819Z

Oh, completely understood. Thanks for the quick feedback!

grzm 2026-01-23T17:13:47.545929Z

I added an issue more as a place to keep it so it's not forgotten https://github.com/borkdude/carve/issues/78

borkdude 2026-01-23T17:14:11.364139Z

👍