mirror of
https://github.com/PaperMC/Paper.git
synced 2024-12-28 03:48:01 +01:00
Separate checkstyle-suppressions file is not required
By: md_5 <git@md-5.net>
This commit is contained in:
parent
172c526a4b
commit
b1ba1b1b8d
@ -1,9 +0,0 @@
|
||||
<?xml version="1.0"?>
|
||||
<!DOCTYPE suppressions PUBLIC
|
||||
"-//Checkstyle//DTD SuppressionFilter Configuration 1.2//EN"
|
||||
"https://checkstyle.org/dtds/suppressions_1_2.dtd">
|
||||
|
||||
<suppressions>
|
||||
<!-- Don't check for missing package declarations in tests-->
|
||||
<suppress checks="JavadocPackage" files=".*[\\/]src[\\/]test[\\/].*\.java$"/>
|
||||
</suppressions>
|
@ -26,6 +26,11 @@
|
||||
<module name="SuppressionSingleFilter">
|
||||
<property name="message" value="'(implNote|implSpec|apiNote)'\."/>
|
||||
</module>
|
||||
<!-- Don't check for missing package-info in tests -->
|
||||
<module name="SuppressionSingleFilter">
|
||||
<property name="checks" value="JavadocPackage"/>
|
||||
<property name="files" value=".*[\\/]src[\\/]test[\\/].*\.java$"/>
|
||||
</module>
|
||||
|
||||
<module name="TreeWalker">
|
||||
<!-- See https://checkstyle.org/config_javadoc.html -->
|
||||
|
@ -233,7 +233,6 @@
|
||||
</executions>
|
||||
<configuration>
|
||||
<configLocation>checkstyle.xml</configLocation>
|
||||
<suppressionsLocation>checkstyle-suppressions.xml</suppressionsLocation>
|
||||
<includeTestSourceDirectory>true</includeTestSourceDirectory>
|
||||
</configuration>
|
||||
<dependencies>
|
||||
|
Loading…
Reference in New Issue
Block a user