This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2024-02-19
Channels
- # babashka (7)
- # beginners (29)
- # biff (10)
- # cherry (6)
- # cider (23)
- # clj-kondo (9)
- # clojure (54)
- # clojure-europe (27)
- # clojure-nl (2)
- # clojure-norway (10)
- # clojure-uk (5)
- # datomic (14)
- # deps-new (1)
- # events (7)
- # figwheel-main (3)
- # hyperfiddle (9)
- # lsp (4)
- # malli (12)
- # off-topic (8)
- # other-languages (2)
- # releases (3)
- # shadow-cljs (104)
- # specter (1)
- # tools-deps (12)
I keep seeing unresolved namespace
warnings in my Conjure REPL log. It only happens when I run Conjure after Clojure LSP in Vim. When I restart the LSP and Conjure is already running, the warnings no longer appear in my Conjure REPL. I’m not sure if this is a Conjure or Kondo thing, but I thought I might ask here if this is something somebody saw before.
Sorry, I don't know what the right buffer is doing. Perhaps this is more a question for #CK143P6D7? If you can make a repro using just text files and clj-kondo on the command line, I'd be happy to take a look but the interaction with vim makes this unfortunately hard for me to reason about
{:output {:exclude-files ["conjure.log..*.cljc"]}}
I have this in my .config/clj-kondo/config.edn
file to remove the linting errors from the conjure bufferHi, there!
How should I use pod.borkdude.clj-kondo/run!
with standard input - in the context of using clj-kondo Pod in Babashka?
When I try the following snippet, it ‘freezes’ and doesn’t return anything.
I also tried wrapping in with-in-str
:
(with-in-str (slurp *in*)
(clj-kondo/run!
{:lint ["-"]
:filename filename
:config config}))
unfortunately that doesn't work with the pod currently. your best bet would be to spit out the code to a file and then lint that file.
Gotcha! Thanks, @U04V15CAJ.