brcosta/clj-extras-plugin

CLJS: known symbols report as unresolved

Closed this issue · 3 comments

Seeing some strange behaviour using Cursive + clojure extras + clj-kondo. A number of vars are reported as unresolved, while they are clearly not. Only inside cursive, not in clj-kondo CLI

image

Context: https://clojurians.slack.com/archives/CHY97NXE2/p1642013162080500

If you send the filename including the extension with the :filename argument, then clj-kondo can infer that this is a CLJS file and the warning should go away.

Should be solved on master already.

Solved on 0.4.5 (already in the marketplace)