Hello guys, we are having a little issue setupping...
# general
f
Hello guys, we are having a little issue setupping
scalafix
with pants. When using
scalafix
rule:
RemoveUnused
, the following error occurs:
Copy code
==== stdout ====
                     error: The Scala compiler option "-Ywarn-unused" is required to use RemoveUnused.
                     To fix this problem, update your build to use at least one Scala compiler
                     option that starts with "-Ywarn-unused"
However in
pants.ini
, we have set up correctly the following `zinc arguments`:
Copy code
...
'-S-Ywarn-unused:implicits',
'-S-Ywarn-unused:imports',
'-S-Ywarn-unused:locals',
'-S-Ywarn-unused:params',
'-S-Ywarn-unused:patvars',
'-S-Ywarn-unused:privates',
...
Is this a known issue or are we forgetting something ?
a
what option are you setting in
pants.ini
specifically?
@flaky-photographer-75744 ^
f
pants.ini
Here you have the full version 🙂