diff options
author | Mario Pastorelli <mario.pastorelli@teralytics.ch> | 2016-09-14 12:38:41 +0200 |
---|---|---|
committer | Mario Pastorelli <mario.pastorelli@teralytics.ch> | 2016-09-14 12:41:05 +0200 |
commit | 3eae7ef24066cc699bddbd6a6c593929948bdb2f (patch) | |
tree | 4c7e9e49a59c135474cef70cc8f3be0b8d931fd3 /examples/wartremover-example/build/build.scala | |
parent | 1630cdae28c8d29a4502446a2d14d7bb5b30fb98 (diff) | |
download | cbt-3eae7ef24066cc699bddbd6a6c593929948bdb2f.tar.gz cbt-3eae7ef24066cc699bddbd6a6c593929948bdb2f.tar.bz2 cbt-3eae7ef24066cc699bddbd6a6c593929948bdb2f.zip |
WartRemover plugin implementation (#167)
Diffstat (limited to 'examples/wartremover-example/build/build.scala')
-rw-r--r-- | examples/wartremover-example/build/build.scala | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/examples/wartremover-example/build/build.scala b/examples/wartremover-example/build/build.scala new file mode 100644 index 0000000..c715f20 --- /dev/null +++ b/examples/wartremover-example/build/build.scala @@ -0,0 +1,9 @@ +import cbt._ + +import org.wartremover.warts.{ Null, Var } +import org.wartremover.WartTraverser + +class Build(val context: Context) extends BuildBuild with WartRemover { + + override def wartremoverErrors: Seq[WartTraverser] = Seq(Var, Null) +} |