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.mdoh right, and you didn't see the output similar to "copied config to ..." ?
do you have a local .clj-kondo
directory?
No, and indeed nothing is copied to ./.clj-kondo 😞
Yes
is this library public? I can try it myself
(be back later)
Almost public
is it a git dep or jar dep
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 <http://clojure.xxx|clojure.xxx>
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.
cool!
no need to be ashamed, glad it's solved
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!