Skip to content

Commit

Permalink
HSEARCH-5256 Remove a few more checkstyle rules handled in other places
Browse files Browse the repository at this point in the history
  • Loading branch information
marko-bekhta committed Oct 11, 2024
1 parent 63af1af commit d718c68
Showing 1 changed file with 0 additions and 34 deletions.
34 changes: 0 additions & 34 deletions build/config/src/main/resources/checkstyle.xml
Original file line number Diff line number Diff line change
Expand Up @@ -11,26 +11,6 @@

<property name="cacheFile" value="${checkstyle.cache.file}" />

<module name="Header">
<property name="headerFile" value="classpath:/org/hibernate/search/headers/java.header"/>
<property name="fileExtensions" value="java"/>
</module>

<module name="Header">
<property name="headerFile" value="classpath:/org/hibernate/search/headers/xml.header"/>
<property name="fileExtensions" value="xml"/>
</module>

<module name="Header">
<property name="headerFile" value="classpath:/org/hibernate/search/headers/properties.header"/>
<property name="fileExtensions" value="properties"/>
</module>

<module name="Header">
<property name="headerFile" value="classpath:/org/hibernate/search/headers/adoc.header"/>
<property name="fileExtensions" value="adoc,asciidoc"/>
</module>

<module name="TreeWalker">

<module name="SuppressionCommentFilter" />
Expand Down Expand Up @@ -68,9 +48,6 @@
<property name="ignoreComments" value="true" />
</module>

<!-- Checks for imports -->
<module name="AvoidStarImport" />

<!-- Checks for common coding problems -->
<module name="EqualsHashCode" />
<module name="IllegalInstantiation" />
Expand Down Expand Up @@ -99,17 +76,6 @@
</module>
<module name="MissingOverride" />

<module name="MethodParamPad">
<property name="option" value="nospace" />
<property name="allowLineBreaks" value="false" />
</module>

<module name="ParenPad">
<property name="tokens" value="CTOR_CALL, SUPER_CTOR_CALL, LITERAL_FOR, LITERAL_IF,
LITERAL_WHILE, LITERAL_SWITCH, LITERAL_NEW, METHOD_CALL, RESOURCE_SPECIFICATION"/>
<property name="option" value="space"/>
</module>

<!-- WARN, ERROR and INFO Logging severity levels should be used exclusively via the methods which allow i18 -->
<module name="RegexpSinglelineJava">
<property name="format" value="log\.((error)|(warn)|(info))\(" />
Expand Down

0 comments on commit d718c68

Please sign in to comment.