Skip to content

Commit

Permalink
config: disable lineLength on release notes as it is generated
Browse files Browse the repository at this point in the history
  • Loading branch information
romani committed Jan 26, 2025
1 parent 04f9a08 commit 9d8aa3d
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 0 deletions.
3 changes: 3 additions & 0 deletions config/checkstyle-non-main-files-suppressions.xml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,9 @@

<suppressions>

<!-- don't validate generated files -->
<suppress id="lineLength" files="releasenotes.xml"/>

<!-- Input files for NewlineAtEndOfFileCheckTest, intentional no new line at the end. -->
<suppress checks="NewlineAtEndOfFile"
files="[\\/]test[\\/].*[\\/]InputNewlineAtEndOfFile.*\.(java|txt)"/>
Expand Down
2 changes: 2 additions & 0 deletions config/suppressions.xml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,8 @@

<suppressions>
<!-- don't validate generated files -->
<suppress id="lineLength" files="releasenotes.xml"/>
<suppress id="lineLengthXml" files="releasenotes.xml"/>
<suppress id="lineLengthXml" files="releasenotes_old_8\-0_8\-34\.xml"/>
<suppress id="lineLengthXml" files="releasenotes_old_6\-0_7\-8\.xml"/>
<suppress id="lineLengthXml" files="releasenotes_old_1\-0_5\-9\.xml"/>
Expand Down

0 comments on commit 9d8aa3d

Please sign in to comment.