No `:unresolved-namespace` diagnostic shown in editor for shadow-cljs project (ns :require [])
Thank you for the amazing extension!
• I've created a shadow-cljs project and used Calva to Jack-in to the shadow-cljs REPL.
• My issue is that when I specify a non-existent namespace in a :require (for example, reagent.dommmmm in the screenshot), I expect to see an error diagnostic underline, but it doesn't appear.
• Expected Behavior: The editor should show a warning or error for requiring a namespace that does not exist.
The shadow-cljs build output in the REPL correctly shows the warning message:
The required namespace "reagent.dommmmm" is not available, it was required by "main/core.cljs".
• I might be missing some configuration. Is there a setting I need to enable to get these OK I will try >> Files are linted as they're being edited. If you want to lint the whole project, use the clj-kondo cli command. See https://github.com/borkdude/clj-kondo for more info on that.
Unresolved namespace is not about wrong names in :require but about namespaces mentioned in the code that are not in :require
@borkdude Thank you! The title was misleading. Essentially, I want the editor to show an error for invalid namespaces in the :require statement.
I believe there's currently no feature to warn when files for namespaces in (ns :require [nonexist.blur]) don't exist. Please correct me if I'm wrong.
I think you're correct