Skip to content

Commit f62cb14

Browse files
committed
checkstyle.xml: +7 modules
1 parent 07f5f4b commit f62cb14

1 file changed

Lines changed: 12 additions & 0 deletions

File tree

config/checkstyle/checkstyle.xml

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,10 @@
1313
<!-- See https://checkstyle.org/checks/javadoc/javadocpackage.html -->
1414
<module name="JavadocPackage"/>
1515

16+
<!-- Miscellaneous checks: -->
17+
<!-- See https://checkstyle.org/checks/misc -->
18+
<module name="NewlineAtEndOfFile"/>
19+
1620
<!-- Regexp checks: -->
1721
<!-- See https://checkstyle.org/checks/regexp -->
1822
<module name="RegexpSingleline">
@@ -98,10 +102,18 @@
98102

99103
<!-- Checks for common coding problems: -->
100104
<!-- See https://checkstyle.org/checks/coding -->
105+
<module name="AvoidDoubleBraceInitialization"/>
106+
<module name="AvoidNoArgumentSuperConstructorCall"/>
107+
<module name="DefaultComesLast"/>
101108
<module name="EmptyStatement"/>
102109
<module name="EqualsHashCode"/>
103110
<module name="FallThrough"/>
111+
<module name="HiddenField">
112+
<property name="tokens" value="VARIABLE_DEF"/>
113+
</module>
114+
<module name="IllegalCatch"/>
104115
<module name="IllegalInstantiation"/>
116+
<module name="IllegalThrows"/>
105117
<module name="IllegalToken">
106118
<property name="tokens" value="POST_DEC, POST_INC, STATIC_IMPORT"/>
107119
</module>

0 commit comments

Comments
 (0)