You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Change the CLI args (val args) in CheckStyleSettings and PmdSettings in
project/build.scala in the generated projects.
See the CheckStyle CLI
documentation and the PMD CLI
documentation.
Tweak or replace project/checkstyle-config.xml and project/pmd-ruleset.xml in the generated project with something appropriate for your requirements. See the CheckStyle and PMD XML configuration docs.
Why not make an sbt plugin?
Why should I?
Most code quality toold have a fully functional CLI interface.
An sbt plugin would amount to a ton of boilerplate that replicates the CLI
functionality.
sbt is not binary compatible between versions.
It hasn't even been source compatible to date.
This way is easier.
This same strategy can be used to quickly spit out new CLI-based tasks.
About
giter8 template demonstrating use of PMD and CheckStyle with sbt