Adopt Spring Java Format's JUnit 5 check

Closes gh-941
This commit is contained in:
Andy Wilkinson
2019-07-04 09:31:24 +01:00
parent 66e871f2c9
commit deed4863fb
10 changed files with 28 additions and 27 deletions

View File

@@ -5,8 +5,7 @@
<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.ImportControlCheck">
<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[\\/].*$"/>
@@ -19,5 +18,6 @@
value="Please use BDDMockito imports."/>
<property name="ignoreComments" value="true"/>
</module>
<module name="io.spring.javaformat.checkstyle.check.SpringJUnit5Check"/>
</module>
</module>