clj-kondo 2025-05-19

Any ideas? My versions are clojure-lsp 2025.04.23-18.16.46 and clj-kondo 2025.04.07, but this is still happening:

Which version of LSP are you using? I think this might be fixed in a newest one

I confirm this is a bug introduced 1-2 months ago where clj-kondo started to ignore clojure-lsp custom-linters, the good news is: I refactored clojure-lsp and now these linters are built-in in clojure-lsp and don't have this overlap with kondo anymore, this bug is fixed on nightly/next build

Interesting, this still happens on clojure-lsp lastest release (and has kondo updated)

you should configure clojure-lsp to exclude that linter from redundant-ignore

so it could go into the default kondo config that lsp uses. just take a look at the commit and changelogs

ah that what's we did at nubank, but it's weird to every people need to configure that

anyway, that should be fixed on next release, so not a big deal

but it's weird to every people need to configure that
clojure-lsp has a default clj-kondo config doesn't it?

ah you mean add that config when calling kondo inside clojure-lsp? makes sense

👍 1

If you remove the ignore, do you get the unused var warning?