Fork me on GitHub
#clj-kondo
<
2020-05-12
>
flowthing08:05:21

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.

borkdude08:05:09

@flowthing Can you try:

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

flowthing08:05:04

That works — thank you!

borkdude08:05:01

This should be supported since the newest clj-kondo

plins18:05:49

is there support fore core.match? right now

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

borkdude18:05:01

there is not (yet)

plins19:05:54

ok thanks 🙂