Fork me on GitHub
#clj-kondo
<
2021-02-02
>
Charlie Briggs12:02:46

just started working on a project using carmine (https://github.com/ptaoussanis/carmine) and found that it defines nearly all it’s commands dynamically via a macro which reads from an edn file https://github.com/ptaoussanis/carmine/blob/master/src/taoensso/carmine.clj#L205 I think to get clj-kondo to recognise this it’d need a hook defined which essentially uses the same mechanism?

borkdude12:02:57

yes, are you running into problems using the unresolved var linter? you can just ignore this entire namespace

Charlie Briggs12:02:44

yes that’s the issue. Cool, I’ll just take that route for now

borkdude12:02:28

{:linters {:unresolved-var {:exclude [taoensso.carmine]}}}