rewrite-clj

Oliver George 2022-04-14T00:40:51.842849Z

Quick question in case I'm missing something obvious. I wanted to read all my code (CLJS) and find the most commonly used keywords. I came up with a z/postwalk solution. https://gist.github.com/olivergeorge/600ea4630fc253cc02a0676f5d561829 I was hoping that rewrite-clj would take advantage of the (ns (:require...)) aliases to give me access to the resolved keyword namespace. From the documentation I gather that's not a feature. No great drama. Just wondering if I missed something obvious.

snoe 2022-04-14T02:54:30.057479Z

You'll want to look at clj-kondo analysis if you need to "understand" code like that.

👍 1
Oliver George 2022-04-14T06:46:50.916089Z

Bit of a lazy question but there's no API for kondo is there. You configure it then run to generate data output to poke around. (not complaining just confirming approach)