Fork me on GitHub
#clj-kondo
<
2022-07-05
>
Cora (she/her)17:07:36

is it intended that we should commit (to our code repos) everything that appears under the .clj-kondo directory?

borkdude17:07:59

@corasaurus-hex That's what I do personally, yes. So everyone who checks out the repo has the same linting.

Derek17:07:59

Not the .cache right?

Cora (she/her)17:07:28

that's where I landed, too

dpsutton17:07:04

Here are the two strategies we have at work:

.lsp/*
!.lsp/config.edn
.clj-kondo/.cache
I think they are basically equivalent now. We specifically ignore the clj-kondo cache. For lsp we ignore everything and then specifically override to track the lsp config

borkdude17:07:53

For both clj-kondo and lsp you can do:

.cache

borkdude17:07:04

So just a single entry for both

😍 1