Fork me on GitHub
#clj-kondo
<
2022-03-03
>
jeroenvandijk16:03:49

I want to write a linter that does a different suggestion for System/currentTimeMillis and java.util.UUID/randomUUID . I was able to implement the first linter, but the second doesn’t seem to be recognized. I think because java.util.UUID is not part of https://github.com/clj-kondo/clj-kondo/blob/master/resources/clj_kondo/impl/java-info.edn Should I make an issue for this (and PR) or is it more complicated?

borkdude16:03:35

Issue welcome. I'm not sure what the right answer is, we could probably allow hooks for things clj-kondo doesn't know

jeroenvandijk16:03:33

Thanks! Ok I’ll do this today or tomorrow

borkdude17:03:00

@stefan.van.den.oord Thanks again for working on this namespace + file consistency linter, pretty helpful and found no further regressions

🎉 1
Stefan19:03:23

Thanks @U04V15CAJ , my pleasure! It already helped me find two test namespaces that were not executed in our code base, I hope others are going to find it equally useful 😀