clj-kondo

https://github.com/clj-kondo/clj-kondo
Charlie Briggs 2021-02-02T12:44:46.077200Z

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?

borkdude 2021-02-02T12:47:57.078Z

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

Charlie Briggs 2021-02-02T12:50:44.078400Z

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

borkdude 2021-02-02T12:54:28.078900Z

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