-
Notifications
You must be signed in to change notification settings - Fork 38.5k
automate the remediation of Checkstyle #34830
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
Labels
status: duplicate
A duplicate of another issue
Comments
This was referenced Apr 25, 2025
Isn't this superseded by the PR? |
yes im sorry lot of action happening. I can simply reopen a final new one or you reopen. Lets have fresh new start: #34833 |
Another duplicate 😔 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Fixing violations by hand is tedious and error-prone - even though you gain experience, which Checkstyle is also kind of about.
It would be nifty to have a real autofix solution like OpenRewrite to properly address these issues: https://docs.openrewrite.org/running-recipes/popular-recipe-guides/automatically-fix-checkstyle-violations
Most programmers agree that having consistent formatting across a code base makes it easier to work with. Tools like Checkstyle provide automated enforcement of these policies. But it's never fun to have your workflow interrupted by complaints about formatting. This guide will show you how to configure OpenRewrite to automate the remediation of Checkstyle policy violations.
Either we wait for checkstyle/checkstyle#16948 or implement it ourselves quickly, like done in:
References:
The text was updated successfully, but these errors were encountered: