This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2023-07-03
Channels
- # aleph (3)
- # announcements (2)
- # babashka (24)
- # beginners (71)
- # biff (5)
- # calva (19)
- # cider (7)
- # clj-kondo (15)
- # cljdoc (3)
- # clojure (76)
- # clojure-australia (1)
- # clojure-china (1)
- # clojure-denver (24)
- # clojure-europe (56)
- # clojure-filipino (1)
- # clojure-hk (1)
- # clojure-indonesia (1)
- # clojure-japan (1)
- # clojure-korea (1)
- # clojure-my (1)
- # clojure-nl (1)
- # clojure-norway (37)
- # clojure-sg (1)
- # clojure-taiwan (1)
- # clojure-uk (6)
- # clojurescript (2)
- # cursive (2)
- # datalevin (71)
- # datomic (9)
- # dev-tooling (5)
- # emacs (19)
- # events (1)
- # gratitude (1)
- # hoplon (6)
- # introduce-yourself (5)
- # jobs (1)
- # juxt (2)
- # lsp (23)
- # nbb (26)
- # off-topic (12)
- # other-languages (97)
- # practicalli (2)
- # releases (2)
- # remote-jobs (1)
- # shadow-cljs (24)
- # tools-deps (17)
- # vim (2)
If I have two files with the same namespace, say a/foo/bar.clj
and b/foo/bar.clj
with ns foo.bar
, I can evaluate symbols defined in a
from b
, but clj-kondo will warn if the symbols are not defined in b
. I guess this is by design, but wonder if there is a chance a config could be added to make clj-kondo treat b
as part of a
, or something?
Similar to.
(ns main.core
{:clj-kondo/config
'{:linters {:unresolved-symbol {:level :off}}}})
But for all files in some tree.> if there is a chance a config could be added to make clj-kondo treat b
as part of a
, or something?
@U0ETXRFEW I'm curious how that is structured... I assume you're loading files explicitly here, not just relying on the classpath?
Yes, loading them in the repl only. It’s Fiddle files, as discussed in this podcast episode: https://clojuredesign.club/episode/014-fiddle-with-the-repl/ Personally I can ignore that the files look like christmas trees of squiggles, but ’m adding some extra support in Calva for fiddle files, and was hoping I could figure out a convenient way to remove the error messages.