Fork me on GitHub
#clj-kondo
<
2019-10-09
>
fmnoise11:10:46

is there any way of marking clj-kondo aware of bindings created by macros similar to let?

delaguardo11:10:45

You can configure linter to read custom macro as a build-in macro (let as example) https://github.com/borkdude/clj-kondo/blob/master/doc/config.md#lint-a-custom-macro-like-a-built-in-macro

fmnoise11:10:03

thanks @delaguardo!

fmnoise12:10:26

should it work with flycheck-clj-kondo?

fmnoise12:10:38

cause seems it doesn't

malch14:10:50

@fmnoise It should, try restarting Emacs

borkdude14:10:26

@fmnoise that config goes into .clj-kondo/config.edn typically

borkdude14:10:09

it should work with flycheck-clj-kondo like on the command line.

fmnoise15:10:27

ah, I see, restarted emacs but no luck yet

fmnoise15:10:41

oh, sorry, that was joker compaining

fmnoise15:10:53

clj-kondo is fine about that

fmnoise15:10:58

thanks guys

borkdude15:10:53

what can also help next time is executing flycheck-compile