Make checkstyle ignore module-info.java files

Checkstyle cannot yet parse these files, so we have to make it ignore them.
This commit is contained in:
Chris Vest 2021-03-18 11:47:30 +01:00
parent b1ce81f888
commit 51248ba58f

View File

@ -24,6 +24,10 @@
<module name="io.netty.build.checkstyle.SuppressionFilter">
<property name="pattern" value="((LocalTime|WorldClock)Protocol|LinkedTransferQueue|Version|jzlib/.*|chmv8/.*|com/sun/nio/sctp/.*)\.java" />
</module>
<!-- Ignore module-info.java because checkstyle cannot parse these yet. -->
<module name="BeforeExecutionExclusionFileFilter">
<property name="fileNamePattern" value="module\-info\.java$"/>
</module>
<module name="FileTabCharacter"/>
<module name="JavadocPackage"/>
<module name="NewlineAtEndOfFile" />