zio-shield icon indicating copy to clipboard operation
zio-shield copied to clipboard

Confusion with regular Scalafix rules

Open NeQuissimus opened this issue 4 years ago • 0 comments

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]                                                                              ^^^^^^^^^^^^^^^^^^^
...

NeQuissimus avatar Dec 21 '19 20:12 NeQuissimus