Skip to content

Commit

Permalink
Don’t ignore tests. Ignore all xml files
Browse files Browse the repository at this point in the history
  • Loading branch information
wpscholar committed Jun 13, 2024
1 parent b3d7089 commit 7bb173c
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions WPScholar/ruleset.xml
Original file line number Diff line number Diff line change
Expand Up @@ -13,18 +13,17 @@
<!-- For CI, don't fail on warnings -->
<config name="ignore_warnings_on_exit" value="1"/>

<exclude-pattern>*/phpunit.xml*</exclude-pattern>
<exclude-pattern>*/languages/*</exclude-pattern>
<exclude-pattern>*/tests/*</exclude-pattern>

<!-- Third-party code -->
<exclude-pattern>*/bower-components/*</exclude-pattern>
<exclude-pattern>*/node_modules/*</exclude-pattern>
<exclude-pattern>*/vendor/*</exclude-pattern>

<!-- Ensure certain file types aren't sniffed -->
<exclude-pattern>*.js</exclude-pattern>
<exclude-pattern>*.css</exclude-pattern>
<exclude-pattern>*.js</exclude-pattern>
<exclude-pattern>*.xml</exclude-pattern>

<!-- Don't worry about files that don't contain any code -->
<rule ref="Internal.NoCodeFound">
Expand Down

0 comments on commit 7bb173c

Please sign in to comment.