Hey hey, is there some way to tell clj-kondo to lint for 1.12?
no
how so?
We are using 1.12 and it doesn't know about partitionv for example. Not a big deal, was just wondering.
it should know, if you use the newest clj-kondo
also it knows if you lint the clojure 1.12 dependency first
$ clj-kondo --lint - <<< 'partitionv'
linting took 50ms, errors: 0, warnings: 0what's your clj-kondo version
just upgraded from
[fin@fin-ms7b79 xtdb2]$ clj-kondo --version
clj-kondo v2024.05.24
to
[fin@fin-ms7b79 xtdb2]$ clj-kondo --version
clj-kondo v2024.09.27ok, then it should definitely work
does it?
I threw out the cache, anything else I need to do?
It works fine on the command line but not in emacs.
what are you using in emacs, clojure-lsp or clj-kondo directly?
lsp
lsp doesn't interact with your installed version of clj-kondo though, it bundles it
but if you have clojure 1.12 on the classpath it should definitely recognize partitionv since lsp lints all of your dependencies
perhaps restart your lsp server to make sure and check the classpath that lsp uses
Reinstalled the server in emacs + threw the cache out which seems to have fixed things. Thanks 🙏
👍
happy 1.12-ing!