Fork me on GitHub
#clj-kondo
<
2022-01-17
>
wilkerlucio17:01:15

hello, I'm using kondo in a project with Clojure 1.11, but Kondo seems to not be aware of new clojure core fns like update-keys, using Kondo 2022.01.15, is there a way to make kondo aware of those? or need to ignore?

borkdude17:01:29

kondo should be aware of this:

$ clj-kondo --lint - <<< 'update-keys'
linting took 40ms, errors: 0, warnings: 0
but your cache might be stale from before you upgraded to 11

wilkerlucio19:01:45

yeah, thanks, I had tried to clean kondo cache and re-process it, the issue was that I haven't deleted my .cpcache and it ended up rebuilding with the previous cpcache which pointed to Clojure 1.10 facepalm

❤️ 1
wilkerlucio19:01:40

humm, actually I though that was the problem, but I'm having the issue with update-keys after all these deletes and rebuilds

borkdude19:01:09

then are you sure you're linting with clojure 11?

borkdude19:01:14

repro welcome ;)

wilkerlucio19:01:42

thanks, looking deeper, for some reason my CP is still using Clojure 1.10, gonna debug futher to understand it, thanks for hanging around 🙂

borkdude17:01:16

clj-kondo --lint $(clojure -Spath) --dependencies 
should fix that