typelevel-scalafix icon indicating copy to clipboard operation
typelevel-scalafix copied to clipboard

Lint `UUID.randomUUID()` in favor of `cats.effect.UUIDGen`

Open armanbilge opened this issue 2 years ago • 3 comments

armanbilge avatar Jul 24 '23 18:07 armanbilge

Actually if the existing code is IO(UUID.randomUUID()) or IO.blocking(UUID.randomUUID()) we can rewrite it automatically to IO.randomUUID. Otherwise we can just lint.

armanbilge avatar Jul 24 '23 18:07 armanbilge

I'm going to give this a look this weekend and might try and pick this one up.

brbrown25 avatar May 03 '24 01:05 brbrown25

I actually got a mostly working draft I think. Will try and share it out by monday!

brbrown25 avatar May 03 '24 20:05 brbrown25