Thread
#detekt
    sanogueralorenzo

    sanogueralorenzo

    3 years ago
    Is it possible to hide the output of detekt in terminal if it is all good? I would only like to see the errors.
    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

    3 years ago
    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.
    sanogueralorenzo

    sanogueralorenzo

    3 years ago
    thanks! will check it out now