Should I just globally git-ignore the .portal dir?
Generally I think it is better to target the files and directories that you donβt want in git. If the tool maker decides to introduce a config or whatever. Part of my global ignore looks like so:
**/.calva/output-window/output.calva-repl
**/.clj-kondo/.cache/
**/.clj-kondo/imports/
**/.lsp/.cache/
**/.portal/vs-code.edn
@pez So you mean, be as specific as possible? I think that makes sense π
I tend to only ignore .clj-kondo/.cache/ -- I don't have an imports folder tho'... I do commit all the other folders (imported by LSP/Kondo).
But, yeah, be specific with ignores.
I used to commit the imported folders, but it got annoying, so I figured better to ignore them.
All the imports seem to be under the repo names for me -- no imports -- or do you mean you explicitly ignore each of the folders that get created @pez?
Looks like so for me:
Interesting. I see:
sean@sean-win11-desk:~/workspace/wsmain$ ls .clj-kondo/
babashka bbatsov com.gfredericks com.github.seancorfield cond_plus config.edn hooks http-kit instaparse io.github.noahtheduke metosin nubank rewrite-clj
Do you have any configuration set that would push those into an imports folder?Not that I know of. π Could it be we are using different versions?
clojure-lsp version used: 2024.11.14-18.22.40-nightly
clj-kondo version used: 2024.09.28-SNAPSHOT