Fork me on GitHub
#clj-kondo
<
2021-07-24
>
borkdude16:07:24

Inspired by a discussion with @jimka.issy I'm (re-)considering support direct macroexpansion in hooks. The downsize of this convenience is that errors cannot be precisely located so they are attached to the outer call of the macro.

😀 3
borkdude16:07:59

As a "shortcut" we could support this use case directly by introducing {:hooks {:macroexpand {prog/let+ mymacros/let+}}}

borkdude16:07:18

You would still have to copy your macros into the .clj-kondo dir and configure this.