File tree Expand file tree Collapse file tree 1 file changed +8
-0
lines changed Expand file tree Collapse file tree 1 file changed +8
-0
lines changed Original file line number Diff line number Diff line change 34
34
<property name =" message" value =" Please use String.formatted() (non-static) rather than String.format() (static)." />
35
35
<property name =" ignoreComments" value =" true" />
36
36
</module >
37
+ <module name =" com.puppycrawl.tools.checkstyle.checks.regexp.RegexpSinglelineJavaCheck" >
38
+ <!-- see https://github.com/junit-team/junit-framework/issues/4604 -->
39
+ <property name =" id" value =" jupiterAssertions" />
40
+ <property name =" maximum" value =" 0" />
41
+ <property name =" format" value =" org\.junit\.jupiter\.api\.(Assertions|Assumptions)\." />
42
+ <property name =" message" value =" Assertions/Assumptions should not be used in production code." />
43
+ <property name =" ignoreComments" value =" true" />
44
+ </module >
37
45
<module name =" HideUtilityClassConstructor" />
38
46
<module name =" ModifierOrder" />
39
47
<module name =" EqualsAvoidNull" />
You can’t perform that action at this time.
0 commit comments