@@ -21,22 +21,16 @@ mise run test
2121# Run all tests including integration tests
2222mise run test-all
2323
24- # Format code with Google Java Format
25- mise run format
26-
2724# Run a single test class
2825./mvnw test -Dtest=CounterTest \
29- -Dspotless.check.skip=true \
3026 -Dcoverage.skip=true -Dcheckstyle.skip=true
3127
3228# Run a single test method
3329./mvnw test -Dtest=CounterTest#testIncrement \
34- -Dspotless.check.skip=true \
3530 -Dcoverage.skip=true -Dcheckstyle.skip=true
3631
3732# Run tests in a specific module
3833./mvnw test -pl prometheus-metrics-core \
39- -Dspotless.check.skip=true \
4034 -Dcoverage.skip=true -Dcheckstyle.skip=true
4135
4236# Regenerate protobuf classes (after protobuf dep update)
@@ -86,7 +80,7 @@ Pre-built instrumentations:
8680
8781## Code Style
8882
89- - ** Formatter** : Google Java Format (enforced via Spotless )
83+ - ** Formatter** : Google Java Format (enforced via flint )
9084- ** Line length** : 100 characters
9185 (enforced for ALL files including Markdown, Java, YAML)
9286- ** Indentation** : 2 spaces
@@ -109,7 +103,7 @@ commits. CI will fail if these checks fail.
109103
110104- ** ALWAYS** run ` mise run build ` after modifying Java files
111105 to ensure:
112- - Code formatting (Spotless with Google Java Format)
106+ - Code formatting via flint
113107 - Static analysis (` Error Prone ` with NullAway)
114108 - Checkstyle validation
115109 - Build succeeds (tests are skipped;
0 commit comments