tried hooks and it works great, transformed my custom macro into a simple defn that can be linted
the map-node
seems to be commented out in the hooks api
little cumbersome to develope without repl, should probably start a clj-kondo repl in jvm clojure for hook development
@tatut you can use prn
and println
:)
but yeah, you can also run clj-kondo on the JVM and then run the hook over some code
yeah, tried that but I found it still difficult to determine what I can do with the ndoes
I’m used to “inspect things in the repl” workflow so println is painful 😄
ah, but the hooks api is not in the jvm version… it’s a sci thing?
@tatut correct. it runs in sci for both safety and native-image compatibility (can't use clojure's eval in a native binary)