Is there an option to not fail the build when all ...
# detekt
l
Is there an option to not fail the build when all the issues are autocorrected? Or not print fixed issues in the terminal? Sometimes, I just want to run the autocorrect mid-development and see if there are other issues, but I have to run the task twice to see what was not fixed
g
I recall someone reporting this kind of issue already in the past (have searched through them). I don’t think we actually solved this or not.
s
Yes, there is. The setting
excludeCorrectable
does the job. Take a look at the config.yml file in the detekt repo. https://github.com/detekt/detekt/blob/8bb4c85c4ca382bbb85f0916b8c3cc96bf228a2c/detekt-core/src/main/resources/default-detekt-config.yml#L3
👌 1
l
I'll check it out. Thank you 👍