-
Couldn't load subscription status.
- Fork 38.8k
Description
Fixing violations by hand is tedious and error-prone - even though gaining experience, which Checkstyle is also kind of about.
While editorconfig helps standardize editor settings, we're still left with trial and error.
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.