I have a custom rule that I want to run on a gradl...
# ktlint
d
I have a custom rule that I want to run on a gradle module however it should run on the main sourceset only, not on the test sourceset, i.e. tests should be excluded from my rule. Does anyone know how I can do this with org.jlleitschuh.gradle.ktlint gradle extension, or some other way?
s
d
that won’t work because I want to run all ktlint rules except my custom rule
ah, I can do this with the .editorconfig file, disable a rule for test paths