@borkdude Should the clj-kondo vscode plugin also pickup .clj-kondo/config.edn automatically? If not, can I configure clj-kondo in vscode somehow?
yes, no
Hmm that doesn’t seem to work for me. When I run clj-kondo on the command line, I don’t get the lint error anymore that I’m trying to solve, but when I look in vscode (plugin installed through calva) then I do see the lint error. Any tips?
can you make a minimal repro and post the versions of both clj-kondo's?
Sure, I’ll let you know when I have it. Thanks!
@borkdude Here it is: https://github.com/svdo/clj-kondo-issue. I tried to explain in the README what I’m looking at. Please let me know if anything is unclear.
@stefan.van.den.oord Works fine over here. Are you opening the directory like I have opened it, or are you editing files outside your "workspace" ?
I’m launching vscode by typing code .
in the project folder.
I'll also try that
@stefan.van.den.oord Same, works fine over here
Hmm strange. Is there a cache being used outside the project folder? Did you also try with calva enabled/disabled? Come to think of it, maybe I have the joker extension enabled as well, might also come from there. I’ll try disabling it (AFK ATM)
@stefan.van.den.oord That error looks like it comes from joker yes:
$ echo 'conn' | /usr/local/bin/joker --lint -
<stdin>:1:1: Parse error: Unable to resolve symbol: conn
$ echo 'conn' | clj-kondo --lint -
<stdin>:1:1: error: unresolved symbol conn
Indeed, that was the issue. Thanks for helping me to pin this down!