mirror of
https://github.com/spring-projects/spring-boot.git
synced 2026-10-01 14:59:50 +00:00
Update checkstyle rules to fix import regex patterns for both packages and classes.
16 lines
759 B
XML
16 lines
759 B
XML
<?xml version="1.0"?>
|
|
<!DOCTYPE module PUBLIC "-//Puppy Crawl//DTD Check Configuration 1.2//EN" "http://www.puppycrawl.com/dtds/configuration_1_2.dtd">
|
|
<module name="com.puppycrawl.tools.checkstyle.Checker">
|
|
<module name="io.spring.javaformat.checkstyle.SpringChecks" />
|
|
<module name="com.puppycrawl.tools.checkstyle.TreeWalker">
|
|
<module
|
|
name="com.puppycrawl.tools.checkstyle.checks.imports.IllegalImportCheck">
|
|
<property name="regexp" value="true" />
|
|
<property name="illegalPkgs"
|
|
value="^sun.*, ^org\.apache\.commons\.(?!compress|dbcp2|lang|lang3|logging|pool2).*, ^com\.google\.common.*, ^org\.flywaydb\.core\.internal.*" />
|
|
<property name="illegalClasses"
|
|
value="^reactor\.core\.support\.Assert" />
|
|
</module>
|
|
</module>
|
|
</module>
|