Skip to content

Commit

Permalink
chore: Configure spotless code formatter
Browse files Browse the repository at this point in the history
  • Loading branch information
I-Al-Istannen committed Nov 1, 2024
1 parent 3c6e7ef commit 9f7cde9
Showing 1 changed file with 15 additions and 21 deletions.
36 changes: 15 additions & 21 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -232,28 +232,22 @@
<artifactId>spotless-maven-plugin</artifactId>
<version>2.43.0</version>
<configuration>
<formats>
<format>
<includes>
<include>src/test/java/spoon/testing/assertions/**/*.java</include>
</includes>
<trimTrailingWhitespace/>
<endWithNewline/>
<indent>
<tabs>true</tabs>
<spacesPerTab>4</spacesPerTab>
</indent>
</format>
</formats>
<java>
<includes>
<include>src/test/java/spoon/testing/assertions/**/*.java</include>
</includes>
<palantirJavaFormat>
<version>2.40.0</version>
<style>PALANTIR</style>
<formatJavadoc>true</formatJavadoc>
</palantirJavaFormat>
<excludes>
<!-- Exclude the test classes to prevent any impact on the current tests. -->
<exclude>**/testclasses*/**</exclude>
<exclude>**/src/test/resources/**</exclude>
</excludes>
<importOrder>
<wildcardsLast>true</wildcardsLast>
<order>,\#javax|\#java,\#</order>
</importOrder>
<removeUnusedImports />
<trimTrailingWhitespace/>
<endWithNewline/>
<indent>
<tabs>true</tabs>
</indent>
</java>
</configuration>
</plugin>
Expand Down

0 comments on commit 9f7cde9

Please sign in to comment.