chore: lintに言うことを聞かせた

This commit is contained in:
usbharu 2023-10-15 00:11:32 +09:00
parent ae376d55d0
commit b65f580733
1 changed files with 10 additions and 1 deletions

View File

@ -151,10 +151,19 @@ detekt {
parallel = true
config = files("detekt.yml")
buildUponDefaultConfig = true
basePath = "${rootDir.absolutePath}/src/"
basePath = "${rootDir.absolutePath}/src/main/kotlin"
autoCorrect = true
}
tasks.withType<io.gitlab.arturbosch.detekt.Detekt>() {
exclude("**/generated/**")
doFirst {
}
setSource("src/main/kotlin")
exclude("build/")
}
tasks.withType<io.gitlab.arturbosch.detekt.Detekt>().configureEach {
exclude("**/org/koin/ksp/generated/**", "**/generated/**")
}