2016-03-14 01:02:07 -04:00
|
|
|
<?xml version="1.0"?>
|
2020-07-24 14:37:53 -04:00
|
|
|
<!DOCTYPE module PUBLIC
|
|
|
|
"-//Checkstyle//DTD Checkstyle Configuration 1.3//EN"
|
|
|
|
"https://checkstyle.org/dtds/configuration_1_3.dtd">
|
|
|
|
<module name="com.puppycrawl.tools.checkstyle.Checker">
|
2016-03-14 01:02:07 -04:00
|
|
|
<module name="SuppressionFilter">
|
2020-07-24 14:37:53 -04:00
|
|
|
<property name="file"
|
|
|
|
value="${config_loc}/checkstyle-suppressions.xml" />
|
2016-03-14 01:02:07 -04:00
|
|
|
</module>
|
2020-07-29 17:14:23 -04:00
|
|
|
<module name="com.puppycrawl.tools.checkstyle.checks.header.RegexpHeaderCheck">
|
|
|
|
<property name="headerFile" value="${config_loc}/header.txt" />
|
|
|
|
<property name="fileExtensions" value="java" />
|
2016-03-14 01:02:07 -04:00
|
|
|
</module>
|
2020-07-29 17:14:23 -04:00
|
|
|
<module name="io.spring.javaformat.checkstyle.SpringChecks">
|
|
|
|
<property name="excludes" value="io.spring.javaformat.checkstyle.check.SpringHeaderCheck" />
|
2020-08-24 17:38:12 -04:00
|
|
|
<property name="avoidStaticImportExcludes" value="org.springframework.security.test.web.reactive.server.SecurityMockServerConfigurers.*" />
|
2021-05-10 12:45:04 -04:00
|
|
|
<property name="avoidStaticImportExcludes" value="org.springframework.security.test.web.servlet.response.SecurityMockMvcResultHandlers.*" />
|
2020-07-29 17:14:23 -04:00
|
|
|
</module>
|
2020-08-04 17:20:45 -04:00
|
|
|
<module name="com.puppycrawl.tools.checkstyle.TreeWalker">
|
|
|
|
<module name="com.puppycrawl.tools.checkstyle.checks.regexp.RegexpSinglelineJavaCheck">
|
|
|
|
<property name="maximum" value="0"/>
|
|
|
|
<property name="format" value="org\.assertj\.core\.api\.Assertions\.(catchThrowable|catchThrowableOfType|assertThatThrownBy|assertThatCode)" />
|
|
|
|
<property name="message" value="Please use assertThatExceptionOfType." />
|
|
|
|
<property name="ignoreComments" value="true" />
|
2016-03-14 01:02:07 -04:00
|
|
|
</module>
|
|
|
|
</module>
|
|
|
|
</module>
|