Skip to content

Commit

Permalink
ignoring server generated code for linting
Browse files Browse the repository at this point in the history
  • Loading branch information
robertfmurdock committed Jul 16, 2023
1 parent 35c32f5 commit 174ed69
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 50 deletions.
50 changes: 0 additions & 50 deletions .idea/gradle.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

9 changes: 9 additions & 0 deletions server/action/build.gradle.kts
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
import org.jmailen.gradle.kotlinter.tasks.FormatTask
import org.jmailen.gradle.kotlinter.tasks.LintTask

plugins {
id("com.zegreatrob.coupling.plugins.mp")
id("com.zegreatrob.testmints.action-mint")
Expand Down Expand Up @@ -60,4 +63,10 @@ tasks {
"lintKotlinJsMain" {
dependsOn("kspKotlinJs")
}
withType(FormatTask::class) {
exclude { spec -> spec.file.absolutePath.contains("generated") }
}
withType(LintTask::class) {
exclude { spec -> spec.file.absolutePath.contains("generated") }
}
}

0 comments on commit 174ed69

Please sign in to comment.