sbt-scapegoat icon indicating copy to clipboard operation
sbt-scapegoat copied to clipboard

scapegoatMaxErrors not working

Open chandu-atina opened this issue 4 years ago • 2 comments

I set the scapegoatMaxErrors value to 1 in my build.sbt to fail the build if there are any errors. I have 5 errors but still the build succeeds. ThisBuild / scapegoatMaxErrors := 1 addSbtPlugin("com.sksamuel.scapegoat" %% "sbt-scapegoat" % "1.1.0") scalaVersion := "2.11.8"

chandu-atina avatar Mar 05 '20 05:03 chandu-atina

This setting doesn't appear to be currently respected, see the search results and this issue for a reference.

mwz avatar Mar 05 '20 22:03 mwz

@mwz You are right I looked at the usage of scapegoatMaxErrors setting in the code. It is not referred anywhere apart from plugin definition

chandu-atina avatar Mar 06 '20 23:03 chandu-atina