Fork me on GitHub
#clj-kondo
<
2023-05-30
>
opqdonut12:05:49

I'm facing a mysterious problem where clj-kondo flags two "error: get-in with single key" in our CI job. However • We haven't enabled the single-key-in linter and it's off by default, right? • There are get-ins with single key all over the file but it only flags two • Running the same clj-kondo script locally passes cleanly Any ideas?

borkdude12:05:46

It doesn't ring a bell. Maybe you can create a repro?

opqdonut12:05:55

I'll try, but I'm not hopeful since it passes locally. But I'll keep digging.

opqdonut12:05:50

CI is using 2023.07.12 and I'm on 2022.09.08, so that's one difference. Let's try upgrading

opqdonut12:05:29

errr 2023.02.17 I mean

opqdonut12:05:54

oh ok, mystery solved: a colleague had enabled the linter in master and fixed all existing occurrences

opqdonut12:05:24

and since the CI runs on the merge commit (`/pull/1234/merge`), clj-kondo only saw my new additions

opqdonut12:05:31

pebcak, sorry for bothering you