Running this
npm run --silent lint:tsc | npx @bartekbp/typescript-checkstyle > checkstyle.xml
On an example project produces a checkstyle file showing a TypeScript error. However because the program emits a 0 status code the step does not fail.
It would be a sensible assumption that if the report contains errors, it should fail the step even if the exit code is 0 (this would also permit multiple runs of different style checkers in a single step, emiting a report for each but not stopping if one encounters errors)
Is it possible to have the Pipe fail the step if the step is not yet failed and the report contains errors?