Skip to content

Commit

Permalink
Issue checkstyle#8269:Update documentation for BeforeExecutionExclusi…
Browse files Browse the repository at this point in the history
…onFileFilter
  • Loading branch information
Ritik2604 committed Apr 3, 2021
1 parent 5dd91f9 commit 1080b26
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 0 deletions.
Expand Up @@ -74,6 +74,13 @@
* </module>
* </pre>
* <p>
* To configure the filter to ignore some Checks in maven test folder by Checkstyle config:
* </p>
*
* <pre>
* &lt;suppress checks=&quot;EmptyBlock&quot; files=&quot;.*[\\/]src[\\/]test[\\/]&quot;/&gt;
* </pre>
* <p>
* Parent is {@code com.puppycrawl.tools.checkstyle.Checker}
* </p>
*
Expand Down
8 changes: 8 additions & 0 deletions src/xdocs/config_filefilters.xml
Expand Up @@ -79,6 +79,14 @@
value=&quot;^(?!.*(Remote\.java|Client\.java|[\\/]Remote\.java|[\\/]Client\.java)).*$&quot;/&gt;
&lt;/module&gt;
</source>
<p>
To configure the filter to ignore some Checks in maven test folder by Checkstyle config:
</p>
<source>
&lt;suppress checks=&quot;EmptyBlock&quot; files=&quot;.*[\\/]src[\\/]test[\\/]&quot;/&gt;

</source>

</subsection>
<subsection name="Example of Usage" id="BeforeExecutionExclusionFileFilter_Example_of_Usage">
<ul>
Expand Down

0 comments on commit 1080b26

Please sign in to comment.