JUnit formatter should output entry even for files that have no messages #9093
Labels
archived due to age
This issue has been archived; please open a new issue for any further discussion
bug
ESLint is working incorrectly
core
Relates to ESLint's core APIs and features
evaluating
The team will evaluate this issue to decide whether it meets the criteria for inclusion
Tell us about your environment
What did you expect to happen?
Currently the junit formatter doesn't output any entries if a file has no errors. This causes issues with Jenkins junit parser, it assumes that no tests exist and fails with a warning.
It would also be nice to have this because it gives output for all the files that have been checked, right now files that pass are just missing from the report.
This issue was also mentioned by #16 (comment)
What actually happened? Please include the actual, raw output from ESLint.
I would like to change the output from
to
The text was updated successfully, but these errors were encountered: