This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2021-06-05
Channels
- # babashka (4)
- # bangalore-clj (1)
- # calva (5)
- # chlorine-clover (1)
- # cider (5)
- # clara (9)
- # clj-kondo (18)
- # cljs-dev (12)
- # clojure (42)
- # clojure-europe (9)
- # clojure-norway (1)
- # clojure-uk (4)
- # clojured (255)
- # clojurescript (76)
- # community-development (3)
- # conjure (4)
- # emacs (9)
- # figwheel (3)
- # fulcro (6)
- # graalvm (6)
- # java (15)
- # lsp (7)
- # luminus (1)
- # off-topic (5)
- # pathom (9)
- # reagent (5)
- # ring (6)
- # shadow-cljs (38)
- # sql (21)
- # xtdb (12)
There must be something obvious I can't see. I can't get to import the config of a lib I've written. I know it is on the classpath, I see it in the lib jar under "clj-kondo.exports/io.helins/mprop/config.edn". I run the same import command as in the doc. I know this jar is present since I can see it is being linted. Something wrong with the path?
@adam678 How did you "import" the config? clj-kondo --lint $(clojure -Spath) --dependencies
?
clj-kondo --copy-configs --dependencies --lint "$(clojure -Spath)"
Yes, copy/pasted this line from https://github.com/clj-kondo/clj-kondo/blob/master/doc/config.mdNo, and indeed nothing is copied to ./.clj-kondo 😞
Almost public
I've installed it locally (so jar dep)
Actually I am doing something wrong at import. I can't reproduce the clj-kondo/config
example. Weird... I never had this problem. It's in my deps, on my classpath, and I have a .clj-kondo directory with proper R/W access...
All I get is a long list of errors + warnings from
and it ends like this without any copying done:
linting took 2750ms, errors: 132, warnings: 433
Okay, I feel ashamed. All this fuzz has been solved... by an update of Clj-kondo. I still have no idea what went wrong though.
Always makes me think of IT Crowd's "Did you try turning it off and on again..." when something like that happens. Anyways, have a nice WE!