Use `spring-javaformat` to format and check code. Code formatting can now be applied using the `spring-javaformat-maven-plugin` from the command line. Existing checkstyle rules have also been replaced and the CONTRIBUTING.adoc file has been updated. Closes gh-13255
12 lines
658 B
XML
12 lines
658 B
XML
<?xml version="1.0"?>
|
|
<!DOCTYPE module PUBLIC "-//Puppy Crawl//DTD Check Configuration 1.2//EN" "http://www.puppycrawl.com/dtds/configuration_1_2.dtd">
|
|
<module name="com.puppycrawl.tools.checkstyle.Checker">
|
|
<module name="io.spring.javaformat.checkstyle.SpringChecks" />
|
|
<module name="com.puppycrawl.tools.checkstyle.TreeWalker">
|
|
<module name="com.puppycrawl.tools.checkstyle.checks.imports.IllegalImportCheck">
|
|
<property name="illegalPkgs" value="sun, org.apache.commons.(?!codec|dbcp|dbcp2|logging|pool|pool2).*, com.google.common.(?!cache).*, org.flywaydb.core.internal"/>
|
|
<property name="regexp" value="true"/>
|
|
</module>
|
|
</module>
|
|
</module>
|