Skip to content

Commit

Permalink
🎨 Change spotless style to old formatter style
Browse files Browse the repository at this point in the history
  • Loading branch information
jonastahl committed Oct 3, 2024
1 parent fe6f331 commit 1fd6409
Showing 1 changed file with 3 additions and 13 deletions.
16 changes: 3 additions & 13 deletions backend/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -133,14 +133,11 @@
<version>2.43.0</version>
<configuration>
<formats>
<!-- you can define as many formats as you want, each is independent -->
<format>
<!-- define the files to apply to -->
<includes>
<include>.gitattributes</include>
<include>.gitignore</include>
</includes>
<!-- define the steps to apply to those files -->
<trimTrailingWhitespace/>
<endWithNewline/>
<indent>
Expand All @@ -149,17 +146,10 @@
</indent>
</format>
</formats>
<!-- define a language-specific format -->
<java>
<!-- no need to specify files, inferred automatically, but you can if you want -->

<!-- apply a specific flavor of google-java-format and reflow long strings -->
<googleJavaFormat>
<version>1.23.0</version>
<style>GOOGLE</style>
<reflowLongStrings>true</reflowLongStrings>
<formatJavadoc>true</formatJavadoc>
</googleJavaFormat>
<eclipse>
<file>formatJava.xml</file>
</eclipse>
</java>
</configuration>
<executions>
Expand Down

0 comments on commit 1fd6409

Please sign in to comment.