I am very new to Scala and SBT
I am trying to set up the project with Scalastyle. All works fine when running from command line, however I can't find a way to define the option as indicated on the Scalastyle website http://www.scalastyle.org/sbt.html
I tried to add something like this in the plugins.sbt
val scalastyleConfigUrl = Some(url("http://www.scalastyle.org/scalastyle_config.xml"))
I am not sure how to validate if this is working; I would expect the scalastyle_config.xml
to be downloaded at each compilation, obviously I am missing something.
Second part, I would like to automate scalastyle to run at each compilation/build. How can achieve that?
Thank you