mirror of
https://github.com/spring-projects/spring-boot.git
synced 2024-08-29 03:06:45 +08:00
Broaden files covered by checkstyle
Closes gh-16682
This commit is contained in:
parent
80d8a5cfa2
commit
e161c6f826
@ -540,7 +540,9 @@
|
|||||||
<suppressionsLocation>src/checkstyle/checkstyle-suppressions.xml</suppressionsLocation>
|
<suppressionsLocation>src/checkstyle/checkstyle-suppressions.xml</suppressionsLocation>
|
||||||
<includeTestSourceDirectory>true</includeTestSourceDirectory>
|
<includeTestSourceDirectory>true</includeTestSourceDirectory>
|
||||||
<propertyExpansion>main.basedir=${main.basedir}</propertyExpansion>
|
<propertyExpansion>main.basedir=${main.basedir}</propertyExpansion>
|
||||||
<resourceIncludes>**\/*.*</resourceIncludes>
|
<sourceDirectories>./</sourceDirectories>
|
||||||
|
<includes>**/*</includes>
|
||||||
|
<excludes>.git/**/*,target/**/*</excludes>
|
||||||
</configuration>
|
</configuration>
|
||||||
<goals>
|
<goals>
|
||||||
<goal>check</goal>
|
<goal>check</goal>
|
||||||
|
@ -3,7 +3,9 @@
|
|||||||
"-//Checkstyle//DTD SuppressionFilter Configuration 1.2//EN"
|
"-//Checkstyle//DTD SuppressionFilter Configuration 1.2//EN"
|
||||||
"https://checkstyle.org/dtds/suppressions_1_2.dtd">
|
"https://checkstyle.org/dtds/suppressions_1_2.dtd">
|
||||||
<suppressions>
|
<suppressions>
|
||||||
<suppress files="[\\/]target[\\/]" checks=".*" />
|
<suppress files="[\\/]transaction-logs[\\/]" checks=".*" />
|
||||||
|
<suppress files="[\\/]target[\\/]" checks=".*" />
|
||||||
|
<suppress files="[\\/]build.log" checks=".*" />
|
||||||
<suppress files=".+\.[jar|git|ico|p12]" checks=".*" />
|
<suppress files=".+\.[jar|git|ico|p12]" checks=".*" />
|
||||||
<suppress files="SpringApplicationTests\.java" checks="FinalClass" />
|
<suppress files="SpringApplicationTests\.java" checks="FinalClass" />
|
||||||
<suppress files=".+Configuration\.java" checks="HideUtilityClassConstructor" />
|
<suppress files=".+Configuration\.java" checks="HideUtilityClassConstructor" />
|
||||||
|
@ -1 +1,2 @@
|
|||||||
^http://livereload.com/protocols/official-7$
|
^http://livereload.com/protocols/official-7.*
|
||||||
|
^http://exslt.org/common.*
|
||||||
|
@ -172,7 +172,9 @@
|
|||||||
<suppressionsLocation>../spring-boot-parent/src/checkstyle/checkstyle-suppressions.xml</suppressionsLocation>
|
<suppressionsLocation>../spring-boot-parent/src/checkstyle/checkstyle-suppressions.xml</suppressionsLocation>
|
||||||
<includeTestSourceDirectory>true</includeTestSourceDirectory>
|
<includeTestSourceDirectory>true</includeTestSourceDirectory>
|
||||||
<propertyExpansion>main.basedir=${main.basedir}</propertyExpansion>
|
<propertyExpansion>main.basedir=${main.basedir}</propertyExpansion>
|
||||||
<resourceIncludes>**\/*.*</resourceIncludes>
|
<sourceDirectories>./</sourceDirectories>
|
||||||
|
<includes>**/*</includes>
|
||||||
|
<excludes>.git/**/*,target/**/*</excludes>
|
||||||
</configuration>
|
</configuration>
|
||||||
<goals>
|
<goals>
|
||||||
<goal>check</goal>
|
<goal>check</goal>
|
||||||
|
Loading…
Reference in New Issue
Block a user