From a0848e69a438f67dda080b2a879bac370bda1475 Mon Sep 17 00:00:00 2001 From: Rolf Krahl Date: Thu, 15 Aug 2024 11:22:24 +0200 Subject: [PATCH] Partly revert ced2f5a: switch ratchet off by default, but leave the property in place, so it can be enabled on the mvn command line --- README.md | 1 - pom.xml | 2 +- 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/README.md b/README.md index e40eb44d..1e32c633 100644 --- a/README.md +++ b/README.md @@ -7,7 +7,6 @@ By default, code checks are disabled for local builds, but enforced in the CI bu You also can execute the commands manually: * `mvn spotless:check -Dspotless.check.skip=false` to validate the source files, * `mvn spotless:apply` to directly change the source files according to the linting. -By default, the linter only checks files that have been changed with respect to the `master` branch. To check all the files, add a `-Dspotless.ratchetFrom=NONE` flag to the manual commands. ### Import order The import order is also validated and applied by the spotless-maven-plugin. It is defined in the file `.spotless/eclipse-importorder.txt` and referenced in `pom.xml`. It is needed that it has a compatible format like the eclipse built-in import order configuration (better its exported file). diff --git a/pom.xml b/pom.xml index a26d92a6..a0eb4130 100644 --- a/pom.xml +++ b/pom.xml @@ -14,7 +14,7 @@ github check true - origin/master + NONE