1+ <?xml version =" 1.0" ?>
2+ <!DOCTYPE module PUBLIC "-//Checkstyle//DTD Checkstyle Configuration 1.3//EN" "https://checkstyle.org/dtds/configuration_1_3.dtd">
3+
4+ <!--
5+ Derived Checkstyle configuration that checks the Google naming conventions from Google Java Style
6+ that can be found at https://google.github.io/styleguide/javaguide.html Formatting conventions are
7+ enforced by the spotless plugin.
8+
9+ This configuration is based on the Google Checks that can be found at:
10+ https://github.com/checkstyle/checkstyle/blob/master/src/main/resources/google_checks.xml
11+
12+ -->
13+
14+ <module name =" Checker" >
15+ <property name =" charset" value =" UTF-8" />
16+ <property name =" fileExtensions" value =" java, properties, xml" />
17+
18+ <module name =" SuppressWarningsFilter" />
19+
20+ <!-- Excludes all 'module-info.java' files -->
21+ <!-- See https://checkstyle.org/filefilters/index.html -->
22+ <module name =" BeforeExecutionExclusionFileFilter" >
23+ <property name =" fileNamePattern" value =" module\-info\.java$" />
24+ </module >
25+
26+ <module name =" TreeWalker" >
27+ <!-- Make the @SuppressWarnings annotations available to Checkstyle -->
28+ <module name =" SuppressWarningsHolder" />
29+ <module name =" AbstractClassName" >
30+ <property name =" format" value =" ^(Base|Abstract).+$" />
31+ </module >
32+ <module name =" MemberName" >
33+ <property name =" format"
34+ value =" ^(?!((m|s|my|our|the)[A-Z])[a-zA-Z0-9]*)([a-z][a-zA-Z0-9]*)$" />
35+ <message key =" name.invalidPattern"
36+ value =" Member ''{0}'' should be named with camelCase and without prefixes." />
37+ </module >
38+ <module name =" ParameterName" >
39+ <property name =" format"
40+ value =" ^(?!((m|s|my|our|the)[A-Z])[a-zA-Z0-9]*)([a-z][a-zA-Z0-9]*)$" />
41+ <message key =" name.invalidPattern"
42+ value =" Member ''{0}'' should be named with camelCase and without prefixes." />
43+ </module >
44+ <module name =" MethodName" >
45+ <property name =" format"
46+ value =" ^(?!((m|s|my|our|the)[A-Z])[a-zA-Z0-9]*)([a-z][a-zA-Z0-9]*)$" />
47+ <message key =" name.invalidPattern"
48+ value =" Member ''{0}'' should be named with camelCase and without prefixes." />
49+ </module >
50+ <module name =" StaticVariableName" >
51+ <property name =" format"
52+ value =" ^(?!((m|s|my|our|the)[A-Z])[a-zA-Z0-9]*)([a-z][a-zA-Z0-9]*)$" />
53+ <message key =" name.invalidPattern"
54+ value =" Member ''{0}'' should be named with camelCase and without prefixes." />
55+ </module >
56+ <module name =" NoFinalizer" />
57+ </module >
58+ </module >
0 commit comments