Skip to content
This repository has been archived by the owner on Aug 24, 2021. It is now read-only.

Commit

Permalink
chore: Restrict number of allowed detekt issues to zero
Browse files Browse the repository at this point in the history
  • Loading branch information
jcornaz committed Oct 2, 2020
1 parent 2e8b7a6 commit 1423b51
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 3 deletions.
3 changes: 0 additions & 3 deletions detekt-config.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,3 @@
build:
maxIssues: 2

comments:
active: true
excludes: "**/test/**,**/androidTest/**,**/*.Test.kt,**/*.Spec.kt,**/*.Spek.kt,**/examples/**"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,12 @@ import com.github.jcornaz.kwik.generator.api.Generator
import com.github.jcornaz.kwik.generator.api.withSamples
import kotlin.random.Random

/**
* Returns a generator of [Char]
*
* @param charset Set of character to be used
* @param exclude Characters to exclude
*/
fun Generator.Companion.characters(
charset: Set<Char> = CharSets.printable,
exclude: Set<Char> = emptySet()
Expand Down

0 comments on commit 1423b51

Please sign in to comment.