https://kotlinlang.org logo
#detekt
Title
# detekt
s

sanogueralorenzo

04/04/2019, 3:29 AM
Is it possible to hide the output of detekt in terminal if it is all good? I would only like to see the errors.
Copy code
Successfully generated HTML report at /home/.../build/reports/detekt/detekt.html
Successfully generated Checkstyle XML report at /home/.../build/reports/detekt/detekt.xml

detekt finished in 10923 ms.
.................
Ruleset: comments
Ruleset: complexity
Ruleset: empty-blocks
Ruleset: exceptions
Ruleset: naming
Ruleset: performance
Ruleset: potential-bugs
Ruleset: style
Tried with -q and it didn't work
m

Mike

04/04/2019, 11:07 AM
This might help. https://arturbosch.github.io/detekt/configurations.html#console-and-output-reports The
console-reports
portion. I don’t think it supports exactly what you’re after, but I suspect if you turned off everything except BuildFailureReport, you’d only see a report if there’s a failure.
s

sanogueralorenzo

04/04/2019, 7:42 PM
thanks! will check it out now
2 Views