Fork me on GitHub
#clj-kondo
<
2023-01-09
>
licht1stein14:01:07

I have this very strange situation. When I lint with clj-kondo the entire project, it gives me lots of redefined var errors. But when I lint any of the subdirectories — it says everything is fine. And there are no redefined vars: First screenshot is linting a subdirectory. Second is linting . On CI everything is fine, there are not linting errors with the same launch params.

borkdude14:01:16

can you make a repro so I (or someone else) has something to work with?

licht1stein18:01:12

I have no idea how to reproduce it, since it works correctly even on CI...

borkdude18:01:07

Perhaps if you lint twice, it starts to happen?

licht1stein22:01:16

I've got linting on a pre-push hook, but I have no-cache setting on

borkdude22:01:15

but can you reproduce it locally, by linting twice with the cache on?

licht1stein07:01:14

It reproduces every time

borkdude07:01:37

I will need a repro to look into it