clj-kondo

https://github.com/clj-kondo/clj-kondo
flowthing 2020-05-12T08:14:21.193900Z

Is there a way to prevent clj-kondo from warning about clojure.data.xml/alias-uri (https://github.com/clojure/data.xml/blob/04db68059e1f4ba3b07ee153cb1a73175ede51cd/README.md#namespace-support)? I've tried adding {:lint-as {clojure.data.xml/alias-uri clojure.core/alias}}, but that doesn't seem to work.

borkdude 2020-05-12T08:39:09.194400Z

@flowthing Can you try:

:clj-kondo/config '{:linters {:unresolved-namespace {:exclude [foo]}}}
?

borkdude 2020-05-12T08:40:01.194700Z

This should be supported since the newest clj-kondo

flowthing 2020-05-12T08:43:04.194800Z

That works — thank you!

plins 2020-05-12T18:01:49.195700Z

is there support fore core.match? right now

(into [name]
                       (match [from-to-state]
                         [(:or [nil _]
                               [:installed (:or :forbidden :uninstalled)]
fails

borkdude 2020-05-12T18:34:01.195900Z

there is not (yet)

plins 2020-05-12T19:21:54.196100Z

ok thanks 🙂