Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions docs/CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -317,10 +317,10 @@ This is **critical** for debugging because annotation processing happens inside

The project uses [google-java-format](https://github.com/google/google-java-format) for consistent code formatting.

**Automatic formatting** is applied during build via the `fmt-maven-plugin`:
**Formatting is enforced during build**: the `fmt-maven-plugin` runs in `check` mode, so the build fails when sources are not formatted. Format your code before committing:

```bash
# Format code automatically
# Format code automatically (run before committing)
mvn fmt:format

# Check formatting without modifying files
Expand Down
2 changes: 1 addition & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -158,7 +158,7 @@
<executions>
<execution>
<goals>
<goal>format</goal>
<goal>check</goal>
</goals>
</execution>
</executions>
Expand Down