-
Could you please suggest: how to disable diktat triggerring on tests? |
Beta Was this translation helpful? Give feedback.
Answered by
petertrr
Jul 2, 2021
Replies: 1 comment
-
There is a property |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
orchestr7
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
There is a property
exclude
inDiktatExtension
. You can find it's usage examples, e.g., in our tests:https://github.com/cqfn/diKTat/blob/93bfd084c6c83d0a674f0d3a2128c43ca2e31937/diktat-gradle-plugin/src/test/kotlin/org/cqfn/diktat/plugin/gradle/DiktatJavaExecTaskTest.kt#L42-L52