Browse Source

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
pull/8983/head
Phillip Webb 5 years ago committed by Rob Winch
parent
commit
863c0873dd
  1. 4
      etc/checkstyle/checkstyle-suppressions.xml

4
etc/checkstyle/checkstyle-suppressions.xml

@ -43,4 +43,8 @@
<suppress files=".*" checks="SpringTernary" /> <suppress files=".*" checks="SpringTernary" />
<suppress files=".*" checks="WhitespaceAfter" /> <suppress files=".*" checks="WhitespaceAfter" />
<suppress files=".*" checks="WhitespaceAround" /> <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> </suppressions>

Loading…
Cancel
Save