If you disallow for example println, then it should be possible to escape that error with // scalafix:ok println. However, scalafix will report an error on "printlnin// scalafix:ok println`. It would be nice if scalafix handled this case by checking that the offensive location does not follow the string "scalafix:ok " or "scalafix:off ".
See https://github.com/scalacenter/scalafix/pull/500/files/9ae607183ec4721f6aefdd3cfc339535e347838e#diff-439023eeb6466236b27366980c2da737
If you disallow for example" or "scalafix:off ".
println
, then it should be possible to escape that error with// scalafix:ok println
. However, scalafix will report an error on "printlnin
// scalafix:ok println`. It would be nice if scalafix handled this case by checking that the offensive location does not follow the string "scalafix:ok