Skip to content

fcroiseaux/scalastyle-sbt-plugin

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

scalastyle-sbt-plugin

This project is intended to provide SBT 0.12.0 plugin support for Scalastyle. For more information about Scalastyle, see http://www.scalastyle.org.

Setup

add following line to project/plugins.sbt

  addSbtPlugin("com.github.aselab" %% "scalastyle-sbt-plugin" % "0.1.0")

  resolvers ++= Seq(
    "aselab repo" at "http://aselab.github.com/maven/"
  )

and, inject plugin settings into project in build.sbt:

  import com.github.aselab.scalastyle._

  ScalaStylePlugin.Settings

Usage

You can check your code by typing sbt scalastyle. The result file is target/scalastyle-result.xml (CheckStyle compatible format).

ScalaStyle Configuration file is ./scalastyle-config.xml by default. To generate default configuration file, by typing sbt scalastyle-generate-config.

About

scalastyle-sbt-plugin

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Scala 96.2%
  • Shell 2.7%
  • JavaScript 1.1%