aboutsummaryrefslogtreecommitdiff
path: root/config/checkstyle_non_main_files_suppressions.xml
blob: e2497d2a0a7d7963205d7316a90f3a8bc32fd998 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
<?xml version="1.0"?>

<!DOCTYPE suppressions PUBLIC
    "-//Puppy Crawl//DTD Suppressions 1.1//EN"
    "http://checkstyle.sourceforge.net/dtds/suppressions_1_1.dtd">

<suppressions>
    
    <!-- Input files for NewlineAtEndOfFileCheckTest, intentional no new line at the end. -->
    <suppress checks="NewlineAtEndOfFile" files="[\\/]test[\\/].*Newline.*AtEndOfFile\.java"/>

    <!-- Intentional no new line at the end. -->
     <suppress checks="NewlineAtEndOfFile" files="[\\/]test[\\/].*[\\/]grammars[\\/]comments[\\/]InputFullOfSinglelineComments\.java"/>
     <suppress checks="NewlineAtEndOfFile" files="[\\/]test[\\/].*[\\/]astprinter[\\/]InputFullOfSinglelineComments\.java"/>

    <!-- Grammar specific input file, should have exact structure to reproduce the case. -->
     <suppress checks="NewlineAtEndOfFile" files="[\\/]test[\\/].*[\\/]grammars[\\/]InputEmbeddedNullChar\.java"/>

    <!-- Javadoc files should not have new line by design (on purpose). -->
     <suppress checks="NewlineAtEndOfFile" files="[\\/]test[\\/].*\.javadoc"/>

    <!--Empty file cannot have any new line at the end. -->
    <suppress checks="NewlineAtEndOfFile" files="[\\/]test[\\/].*[\\/]checks[\\/]misc[\\/]newlineatendoffile[\\/]InputEmptyFile\.txt"/>
    <suppress checks="NewlineAtEndOfFile" files="[\\/]test[\\/].*[\\/]grammars[\\/]InputRegressionEmptyAst\.txt"/>

    <!-- File with CR line separators used for testing -->
    <suppress checks="NewlineAtEndOfFile" files="[\\/]test[\\/].*[\\/]astprinter[\\/]InputFullOfBlockCommentsCR\.java"/>

    <!-- For the testing purposes -->
    <suppress checks="NewlineAtEndOfFile" files="[\\/]test[\\/].*[\\/]checks[\\/]misc[\\/]uniqueproperties[\\/]InputUniquePropertiesWithDuplicates\.properties"/>
</suppressions>