1 <?xml version="1.0"?> 2 <!DOCTYPE module PUBLIC 3 "-//Checkstyle//DTD Checkstyle Configuration 1.3//EN" 4 "https://checkstyle.org/dtds/configuration_1_3.dtd"> 5 6 <module name="Checker"> 7 <property name="charset" value="UTF-8"/> 8 9 <!-- do not change severity to 'error', as that will hide errors caused by exceptions --> 10 <property name="severity" value="warning"/> 11 12 <!-- haltOnException is required for exception fixes and reporting of all exceptions --> 13 <property name="haltOnException" value="false"/> 14 15 <!-- BeforeExecutionFileFilters is required for sources of java9 --> 16 <module name="BeforeExecutionExclusionFileFilter"> 17 <property name="fileNamePattern" value="module\-info\.java$" /> 18 </module> 19 20 <module name="TreeWalker"> 21 <!-- as we run on regression even on non-compiled files we need to skip exceptions on them --> 22 <property name="skipFileOnJavaParseException" value="true"/> 23 <property name="javaParseExceptionSeverity" value="ignore"/> 24 25 <module name="GoogleMethodName"/> 26 </module> 27 </module>