clj-kondo 2024-09-01

Hello! Is there a sanctioned way to find the parent of a node from a hook? For context: I have a pair of macros (syntactically similar to async/await) and I am trying to check that every occurrence of await exists syntactically within an async expression. The brute force method I have finds all occurrences of await, and for each walks the whole namespace to check this condition. Wondering is there is a cleaner way... thanks!

Not yet but in clj-kondo I do have something similar which I could expose. Issue welcome

At least I dont think callstack is exposed yet

That would be great 🙂 I filed an issue here https://github.com/clj-kondo/clj-kondo/issues/2389