Added detekt plugin.

This commit is contained in:
Erik C. Thauvin 2018-07-11 15:25:51 -07:00
parent 1f0d84896a
commit 969768ff73
2 changed files with 25 additions and 2 deletions

11
detekt-baseline.xml Normal file
View file

@ -0,0 +1,11 @@
<?xml version="1.0" ?>
<SmellBaseline>
<Blacklist timestamp="1531308331780"></Blacklist>
<Whitelist timestamp="1531311383595">
<ID>ComplexMethod:PinboardPoster.kt$PinboardPoster$private fun executeMethod(method: String, params: List&lt;Pair&lt;String, String&gt;&gt;): Boolean</ID>
<ID>LongParameterList:PinboardPoster.kt$PinboardPoster$( url: String, description: String, extended: String = "", tags: String = "", dt: String = "", replace: Boolean = true, shared: Boolean = true, toRead: Boolean = false )</ID>
<ID>MaxLineLength:PinboardPoster.kt$PinboardPoster$val code = document.getElementsByTagName("result")?.item(0)?.attributes?.getNamedItem("code")?.nodeValue</ID>
<ID>NestedBlockDepth:PinboardPoster.kt$PinboardPoster$private fun executeMethod(method: String, params: List&lt;Pair&lt;String, String&gt;&gt;): Boolean</ID>
<ID>TooGenericExceptionCaught:PinboardPoster.kt$PinboardPoster$e: Exception</ID>
</Whitelist>
</SmellBaseline>