更新 'checkstyle.xml'

排除指定文件
This commit is contained in:
chinaweal 2021-05-06 18:11:19 +08:00
parent 3bc5b03bed
commit 9b427ebc07
1 changed files with 4 additions and 1 deletions

View File

@ -4,7 +4,10 @@
<!-- checker检查器,checkstyle固定配置写法,不能缺失 -->
<module name="Checker">
<!--排除指定文件-->
<!-- <module name="BeforeExecutionExclusionFileFilter">
<property name="fileNamePattern" value="(OneThingServiceImpl.java|SaticScheduleTask.java)"/>
</module> -->
<!-- 设置checkstyle以UTF8格式进行文件检查 -->
<property name="charset" value="UTF-8"/>
<!--定义严重程度,可选等级:ignore info warning error,如不定义默认为error -->