The scalastyle configuration in build.sbt
is set as follows:
(scalastyleConfig in Test) := baseDirectory.value / "scalastyle-config.xml"
(scalastyleConfig in IntegrationTest) := baseDirectory.value / "scalastyle-config.xml"
Nevertheless, the sbt "it:scalastyle"
does not check the source files in the /src/it
directory. This command just ignores the it
and checks the sources in the /src/main
directory.
sbt "test:scalastyle"
works fine.
Any idea on how I can fix this issue?
Update: After I remove the configurations in the build.sbt
, I am still able to use test:scalastyle
but not it:scalastyle
.