<?xml version="1.0"?>
<!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">
	<module name="io.spring.javaformat.checkstyle.SpringChecks"/>
	<module name="com.puppycrawl.tools.checkstyle.TreeWalker">
		<module name="io.spring.javaformat.checkstyle.check.SpringJUnit5Check" />
		<module name="com.puppycrawl.tools.checkstyle.checks.imports.ImportControlCheck">
			<property name="file"
					  value="${main.basedir}/src/checkstyle/import-control.xml"/>
			<property name="path" value="^.*[\\/]src[\\/]main[\\/].*$"/>
		</module>
		<module name="com.puppycrawl.tools.checkstyle.checks.regexp.RegexpSinglelineJavaCheck">
			<property name="maximum" value="0"/>
			<property name="format"
					  value="org\.mockito\.Mockito\.(when|doThrow|doAnswer)"/>
			<property name="message"
					  value="Please use BDDMockito imports."/>
			<property name="ignoreComments" value="true"/>
		</module>
		<module name="io.spring.javaformat.checkstyle.check.SpringJUnit5Check"/>
	</module>
</module>
