I had weird warnings from clj-kondo regarding wrong arities and such; after a bit of debugging I realised that I had moved/renamed a file from .cljs -> .cljc (and later modified it) and it seems like clj-kondo was using stale data related to the old deleted .cljs file. Clearing the .cache fixed this. Should I write an issue about this or is this just one of those things that will never be 100% fool-proof?
This is a hard problem. clj-kondo doesn't know about deleted namespaces.. perhaps it could check whether the file it came form is still there or so
at least for local files perhaps