Skip to content

Commit 65ff897

Browse files
Update Imports rules
Signed-off-by: Tran Ngoc Nhan <ngocnhan.tran1996@gmail.com>
1 parent d3a742e commit 65ff897

File tree

1 file changed

+14
-0
lines changed

1 file changed

+14
-0
lines changed

parent/pom.xml

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -191,12 +191,26 @@
191191
<!-- Configure checker to use UTF-8 encoding -->
192192
<property name="charset" value="UTF-8"/>
193193

194+
<!-- TreeWalker Checks -->
195+
<module name="TreeWalker">
196+
197+
<!-- Imports -->
198+
<module name="RedundantImport"/>
199+
<module name="UnusedImports" />
200+
</module>
194201
<module name="io.spring.nohttp.checkstyle.check.NoHttpCheck">
195202
<!-- XML requires double escaping, config gets XML-processed twice -->
196203
<property name="allowlist" value="http://www\.querydsl\.com.*&amp;#10;http://www\.prowaveconsulting\.com.*&amp;#10;http://www\.scispike\.com.*&amp;#10;http://.*.icu-project\.org.*"/>
197204
</module>
198205
</module>
199206
</checkstyleRules>
207+
<checkstyleRulesHeader>
208+
<![CDATA[
209+
<!DOCTYPE module PUBLIC
210+
"-//Checkstyle//DTD Checkstyle Configuration 1.3//EN"
211+
"https://checkstyle.org/dtds/configuration_1_3.dtd">
212+
]]>
213+
</checkstyleRulesHeader>
200214
<includes>**/*</includes>
201215
<excludes>
202216
**/.flattened-pom.xml,.git/**/*,target/**/*,**/target/**/*,.idea/**/*,**/spring.schemas,**/*.svg,mvnw,mvnw.cmd,**/*.graphml,work/**/*

0 commit comments

Comments
 (0)