Stop fighting useless battles: automate code style, architecture compliance
summary
Project adds automated checks and cleanup using Prettier, ArchUnit, OpenRewrite so formatting hooks run locally and on CI, a commit is blocked or auto-fixed, and failing CI prevents malformed pushes. ArchUnit enforces package and dependency rules (rejects java.util.logging, forbids certain imports) and OpenRewrite performs large-scale refactors like JUnit4→JUnit5 and converting string‑concat logging to parameterized logging; claim: style debates drop ~50% and OpenRewrite handles ~80% of heavy migrations, leaving small manual fixes.
AI-written summary · about
chapters (7)
- 0:00Introduction
- 3:15Pre-commit hooks with pre-commit
- 8:47ArchUnit for Java architecture
- 16:32OpenRewrite refactoring
- 25:43CI/CD cleanup workflows
- 35:02Reducing team friction
- 43:09Q&A








