clj-kondo

https://github.com/clj-kondo/clj-kondo
tatut 2021-06-16T04:46:12.234500Z

tried hooks and it works great, transformed my custom macro into a simple defn that can be linted

tatut 2021-06-16T05:00:48.235600Z

the map-node seems to be commented out in the hooks api

tatut 2021-06-16T07:04:54.236200Z

little cumbersome to develope without repl, should probably start a clj-kondo repl in jvm clojure for hook development

borkdude 2021-06-16T07:05:40.236500Z

@tatut you can use prn and println :)

borkdude 2021-06-16T07:06:01.237100Z

but yeah, you can also run clj-kondo on the JVM and then run the hook over some code

tatut 2021-06-16T07:06:09.237400Z

yeah, tried that but I found it still difficult to determine what I can do with the ndoes

tatut 2021-06-16T07:06:27.237900Z

I’m used to “inspect things in the repl” workflow so println is painful 😄

tatut 2021-06-16T11:59:43.238300Z

ah, but the hooks api is not in the jvm version… it’s a sci thing?

borkdude 2021-06-16T12:01:28.239Z

@tatut correct. it runs in sci for both safety and native-image compatibility (can't use clojure's eval in a native binary)