Skip to content

Commit

Permalink
chore: 🤖 add ktlint filter rules
Browse files Browse the repository at this point in the history
  • Loading branch information
Xanonymous-GitHub committed Jul 15, 2024
1 parent 9e64bb4 commit 3d029f1
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,17 @@ plugins {
alias(libs.plugins.gradleKtlint)
}

ktlint {
filter {
exclude("**/buildSrc/**")
exclude("**/build/**")
exclude("**/generated/**")
exclude("**/generated-src/**")
include("**/kotlin/**")
include("**/*.kts")
}
}

internal val gradleKtLintPluginId = libs.plugins.gradleKtlint.get().pluginId

allprojects {
Expand Down

0 comments on commit 3d029f1

Please sign in to comment.