scalastyle / scalastyle-sbt-plugin

scalastyle-sbt-plugin
Apache License 2.0
139 stars 52 forks source link

ScalastyleConfiguration without XML #56

Open andrelfpinto opened 8 years ago

andrelfpinto commented 8 years ago

Configuring ScalastyleConfiguration by hand in Scala instead of parsing the XML configuration file is "type-safer". This renames scalastyleConfig settingKey[File] to scalastyleConfigFile and creates a scalastyleConfig settingKey[Option[ScalastyleConfiguration]] that can be used in the build.sbt file. Depends on scalastyle PR #223.

lwouis commented 6 years ago

I find the premise of this PR very nice. It's sad that it got left to bit-rot.

andrelfpinto commented 6 years ago

Actually, I just (earlier today) rebased the scalastyle PR that this PR depends on. Let's hope it gets accepted for this one be revived.