Explorar o código

Suppress third-party code from checkstyle

Suppress `BCrypt` and `ComparableVersion` from checkstyle since these
source files were developed by a third-party.

Issue gh-8945
Phillip Webb %!s(int64=5) %!d(string=hai) anos
pai
achega
863c0873dd
Modificáronse 1 ficheiros con 4 adicións e 0 borrados
  1. 4 0
      etc/checkstyle/checkstyle-suppressions.xml

+ 4 - 0
etc/checkstyle/checkstyle-suppressions.xml

@@ -43,4 +43,8 @@
 	<suppress files=".*" checks="SpringTernary" />
 	<suppress files=".*" checks="WhitespaceAfter" />
 	<suppress files=".*" checks="WhitespaceAround" />
+
+	<!-- Ignore third-party code -->
+	<suppress files="BCrypt\.java|BCryptTests\.java" checks=".*"/>
+	<suppress files="org[\\/]springframework[\\/]security[\\/]core[\\/]ComparableVersion\.java" checks=".*"/>
 </suppressions>