Skip to content

Commit

Permalink
Issue checkstyle#8269: Update doc for BeforeExecutionExclusionFileFilter
Browse files Browse the repository at this point in the history
  • Loading branch information
Ritik2604 committed Apr 3, 2021
1 parent 5dd91f9 commit 5a92493
Show file tree
Hide file tree
Showing 2 changed files with 13 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 modifying {@code config/suppressions.xml}:
* </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
6 changes: 6 additions & 0 deletions src/xdocs/config_filefilters.xml
Expand Up @@ -79,6 +79,12 @@
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 modifying <code>config/suppressions.xml</code>:
</p>
<source><![CDATA[
<suppress checks="EmptyBlock" files=".*[\\/]src[\\/]test[\\/]"/>
]]></source>
</subsection>
<subsection name="Example of Usage" id="BeforeExecutionExclusionFileFilter_Example_of_Usage">
<ul>
Expand Down

0 comments on commit 5a92493

Please sign in to comment.