From 422260872a3a748e2c18aeb7951e14fad7e9dec4 Mon Sep 17 00:00:00 2001 From: Andre Weber Date: Thu, 2 Nov 2023 13:14:49 +0100 Subject: [PATCH] chore: Exclude node_module Folder from Detekt --- buildSrc/src/main/kotlin/detekt.gradle.kts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/buildSrc/src/main/kotlin/detekt.gradle.kts b/buildSrc/src/main/kotlin/detekt.gradle.kts index 0c52bece..dffee6c0 100644 --- a/buildSrc/src/main/kotlin/detekt.gradle.kts +++ b/buildSrc/src/main/kotlin/detekt.gradle.kts @@ -26,7 +26,7 @@ tasks.withType().configureEach { parallel = true setSource(projectDir) include("**/*.kt", "**/*.kts") - exclude("**/resources/**", "**/build/**") + exclude("**/resources/**", "**/build/**", "**/node_modules/**") config.setFrom(project.file("$rootDir/config/detekt/config.yml")) baseline.set(baselineFile)