Hello, I'm trying to run detekt in pre-commit. How...
# detekt
l
Hello, I'm trying to run detekt in pre-commit. However, I keep getting exit code 0 even if there are failures in the report. from my understanding, setting
--max-issues
(or
maxIssue
in the config file) to 0 should help get a non 0 exit code, right? what am I missing? I'm using detekt cli 1.19.0 (also tried 1.23.3 but got the samething)
s
Please create an issue with detailed repro steps in the repo if the problem still persists. Thanks for your help and sorry for the late reply.