pinguinson / vigilance   0.1.8

Apache License 2.0 GitHub

Scala linter

Scala versions: 2.12 2.11
sbt plugins: 1.0

Download

vigilance

Scala linter (fork of https://github.com/sksamuel/scapegoat)

Usage

Add sbt plugin:

addSbtPlugin("com.github.pinguinson" % "sbt-vigilance" % "0.1.5")

Run inspections in sbt:

vigilance                 // runs for a whole project
vigilanceDiff branch_name // runs only for files in the diff against branch_name

TODO

  • log/print future instead of callback
  • get rid of comparisons via toString
  • re-add tests
  • move from scala-xml to scalatags
  • aliases for (local) publishing in sbt
  • .drop.take -> .slice
  • add sorting/filtering to html reports
  • use sbt-buildinfo
  • add tests for catch operations
  • fix variable shadowing inspection
  • fix MapGetAndGetOrElse tests (terribly inconsistent)
  • add release step that would update plugin version in README.md