Warning: file_get_contents(/data/phpspider/zhask/data//catemap/2/scala/18.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Scala 使用除疣器运行sbt_Scala_Plugins_Sbt - Fatal编程技术网

Scala 使用除疣器运行sbt

Scala 使用除疣器运行sbt,scala,plugins,sbt,Scala,Plugins,Sbt,我想和sbt一起检查我整个项目的代码 我已经在plugins.sbt中添加了addSbtPluginorg.brianmckenna%sbt wartremover%0.13,但不知道下一步该怎么做 我没有从带有sbt运行和sbt编译的wartremover获得任何输出。如中所述,您需要配置linter: wartRemoveErrors++=Warts.unsafe sbt>=0.13.5和自动插件功能,仅此而已。当我添加上面这一行时,示例中就会出现编译错误

我想和sbt一起检查我整个项目的代码

我已经在plugins.sbt中添加了addSbtPluginorg.brianmckenna%sbt wartremover%0.13,但不知道下一步该怎么做

我没有从带有sbt运行和sbt编译的wartremover获得任何输出。

如中所述,您需要配置linter:

wartRemoveErrors++=Warts.unsafe

sbt>=0.13.5和自动插件功能,仅此而已。当我添加上面这一行时,示例中就会出现编译错误