+
Skip to content

feat(reporter): add checkstyle #6356

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

wrick17
Copy link

@wrick17 wrick17 commented Jun 17, 2025

Summary

Needed biome to report in checkstyle format so that we can use it in tools like Jenkins Warning Plugin. Plus it's a pretty popular reporting format.

Other people seem to be interested too #2287.

Test Plan

I have tested it locally and it works based on the limited testing I have done.

PS

I have no knowledge of Rust, took a lot of help from LLMs and manually tested it as much as possible. 🙏🏻

@github-actions github-actions bot added the A-CLI Area: CLI label Jun 17, 2025
@wrick17 wrick17 changed the title feat (reporter): add checkstyle feat(reporter): add checkstyle Jun 17, 2025
Copy link
Member

@ematipico ematipico left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you @wrick17 for your contribution. Can you at least add some tests? Create a file this one

https://github.com/biomejs/biome/blob/main/crates/biome_cli/tests/cases/reporter_junit.rs

Provide the correct information in the CLI arguments, and commit the snapshots. This will allow us to see the format, and help you with further reviews.

Plus, the code doesn't compile. While, I appreciate the use of LLMs, we should at least provide a code that compiles.

If you can't go further than that, I would appreciate if you can provide a simple explanation of the checkstyle format, so some else can takeover

@arendjr arendjr added this to the Biome 2.1 milestone Jun 23, 2025
@ematipico ematipico removed this from the Biome 2.1 milestone Jun 24, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A-CLI Area: CLI
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants
点击 这是indexloc提供的php浏览器服务,不要输入任何密码和下载