From ed8fe1815b8e32e5ba3c513fbc65082ad553181c Mon Sep 17 00:00:00 2001 From: Enrico Minack Date: Thu, 30 Nov 2023 09:19:00 +0100 Subject: [PATCH] Add running scalafmt to compile stage in pom.xml --- .scalafmt.conf | 5 ++--- pom.xml | 14 ++++++++++++++ 2 files changed, 16 insertions(+), 3 deletions(-) diff --git a/.scalafmt.conf b/.scalafmt.conf index 67ab917f..76e519eb 100644 --- a/.scalafmt.conf +++ b/.scalafmt.conf @@ -1,7 +1,6 @@ -version = 3.7.14 - +version = 3.7.17 runner.dialect = scala213 rewrite.trailingCommas.style = keep - +docstrings.style = Asterisk maxColumn = 120 diff --git a/pom.xml b/pom.xml index fff31f11..e201cebb 100644 --- a/pom.xml +++ b/pom.xml @@ -231,6 +231,20 @@ + + + com.diffplug.spotless + spotless-maven-plugin + 2.41.0 + + + + 3.7.17 + ${project.basedir}/.scalafmt.conf + + + + org.apache.maven.plugins