clj-kondo

https://github.com/clj-kondo/clj-kondo
2020-08-05T05:30:05.287300Z

hey friends! has anyone noticed this error before? i am getting this with a fresh lein luminus template

seancorfield 2020-08-05T05:38:47.288500Z

@tjb Presumably because clj-kondo doesn't know what mount/defstate does? (which it won't by default until you tell it that is like a def form)

👍 1
borkdude 2020-08-05T07:26:19.289900Z

You probably need {:lint-as {foo.bar/defstate clojure.core/def}} in your config

2020-08-05T05:40:21.288600Z

interesting! i wonder why luminus does (mount/defstate ...)