I was editing my Spark+Kafka application in Scala and when I tried to compile again I keep receiving the message `Failing because of negative scalastyle result`. When I change back my editions I still receive the same message.

What is this? How do I solve this error?

```
[success] created output: /home/felipe/workspace-scala-eclipse/scala-kafka-spark-demo/target
[error] java.lang.RuntimeException: Failing because of negative scalastyle result
[error]     at scala.sys.package$.error(package.scala:27)
[error]     at org.scalastyle.sbt.Tasks$.handleResult$1(Plugin.scala:132)
[error]     at org.scalastyle.sbt.Tasks$.doScalastyleWithConfig$1(Plugin.scala:187)
[error]     at org.scalastyle.sbt.Tasks$.doScalastyle(Plugin.scala:192)
[error]     at org.scalastyle.sbt.ScalastylePlugin$.$anonfun$rawScalastyleSettings$3(Plugin.scala:81)
[error]     at org.scalastyle.sbt.ScalastylePlugin$.$anonfun$rawScalastyleSettings$3$adapted(Plugin.scala:68)
[error]     at scala.Function1.$anonfun$compose$1(Function1.scala:44)
[error]     at sbt.internal.util.$tilde$greater.$anonfun$$u2219$1(TypeFunctions.scala:42)
[error]     at sbt.std.Transform$$anon$4.work(System.scala:64)
[error]     at sbt.Execute.$anonfun$submit$2(Execute.scala:257)
[error]     at sbt.internal.util.ErrorHandling$.wideConvert(ErrorHandling.scala:16)
[error]     at sbt.Execute.work(Execute.scala:266)
[error]     at sbt.Execute.$anonfun$submit$1(Execute.scala:257)
[error]     at sbt.ConcurrentRestrictions$$anon$4.$anonfun$submitValid$1(ConcurrentRestrictions.scala:167)
[error]     at sbt.CompletionService$$anon$2.call(CompletionService.scala:32)
[error]     at java.util.concurrent.FutureTask.run(FutureTask.java:266)
[error]     at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
[error]     at java.util.concurrent.FutureTask.run(FutureTask.java:266)
[error]     at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
[error]     at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
[error]     at java.lang.Thread.run(Thread.java:748)
[error] (*:compileScalastyle) Failing because of negative scalastyle result
[error] Total time: 1 s, completed Jan 9, 2018 10:20:46 PM

```