From 464e5ac12be0255bfe195b377fa6930e4fedfdf4 Mon Sep 17 00:00:00 2001 From: "Michael R. Crusoe" Date: Wed, 18 Jan 2023 13:16:23 +0100 Subject: [PATCH] document mass reformatting --- .git-blame-ignore-revs | 2 ++ CONTRIBUTING.md | 6 ++++++ 2 files changed, 8 insertions(+) create mode 100644 .git-blame-ignore-revs diff --git a/.git-blame-ignore-revs b/.git-blame-ignore-revs new file mode 100644 index 00000000..f950ae14 --- /dev/null +++ b/.git-blame-ignore-revs @@ -0,0 +1,2 @@ +# reformatting using fmt-maven-plugin / google-java-format which follows Google's code styleguide. +d5e1f5bfb85256e8a69441aaea62c01f398f43f9 diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index a555d6ac..fca3189d 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -75,6 +75,12 @@ application built with [Spring Boot](https://projects.spring.io/spring-boot/). Packaging is done by feature and all Spring configuration is Java annotation based. +The code is auto-formatted using [fmt-maven-plugin](https://github.com/spotify/fmt-maven-plugin) +using [google-java-format](https://github.com/google/google-java-format) +which follows [Google's code styleguide](https://google.github.io/styleguide/javaguide.html). + +You can run `mvn process-sources` to manually format the code. + Templates for the view use [Thymeleaf](http://www.thymeleaf.org/), which allows them to be displayed in browsers as static prototypes.