Fork me on GitHub
#clj-kondo
<
2021-09-04
>
ericdallo15:09:32

FYI: Adding clj-kondo support for taoensso/encore https://github.com/ptaoussanis/encore/pull/56

🎉 4
Noah Bogart16:09:35

This is so cool

ericdallo16:09:27

yeah, everytime I face a wrong lint from a lib I try to fix it on the root, this way clj-kondo becomes better with less false-positives :)

Joshua Suskalo18:09:24

Is there a reason that it couldn't be as simple as a {:lint-as {taoensso.encore/defalias clojure.core/def}}?

ericdallo18:09:12

Because there is this case:

(defalias other-ns/foo)

ericdallo18:09:23

which should expand to (def foo other-ns/foo)

ericdallo19:09:36

I made a GH action thathttps://github.com/clojure-lsp/clojure-lsp/blob/master/.github/workflows/bump_downstreams.yml for clojure-lsp, maybe we should do something similar for clj-kondo to for example bump lein-clj-kondo each clj-kondo reelease