Fork me on GitHub

I am attempting to write a custom clj-kondo hook. I have a token node that is a symbol that looks like foo/bar such that foo is an alias for another namespace like . Is there a way I can get the information to fully expand that namespace part of the symbol, so that I now have as the symbol?


@UDVJE9RE3 currently not, but could you describe the macro a little bit? usually macros don't need to resolve alias, they just emit


I'm not doing anything with a macro. Here is the hook setup in my config.edn :hooks {:analyze-call {re-frame.core/reg-event-fx}} I'm trying to emit a warning when some calls re-frame.core/subscribe inside of a re-frame event.


currently not possible, but feel free to post an issue


Sure I can do that. This is not something blocking me up, as the project I'm hoping to use this in is pretty consistent in the namespaces it uses. Turing on the :consistent-alias in conjunction with my current hook, and explicitly checking for the symbol rf/subscribe will be more than enough.


Thanks for the quick response this morning. I opened up an issue here: