zio-shield
zio-shield copied to clipboard
Confusion with regular Scalafix rules
ZIO Shield will react to // scalafix:ok
comments via Scalafix.
This leads to a ton of these warnings due to a project's use of "regular" Scalafix rules.
> sbt shield
...
[warn] /opt/dev/ata/scala-integration/src/main/scala/InMemoryHttp.scala:20:78: error: Unused Scalafix suppression, this can be removed
[warn] ZIO.effect { server.shutdown }.refineToOrDie[IOException] // scalafix:ok Disable.IOException
[warn] ^^^^^^^^^^^^^^^^^^^
...