Skip to content

Commit

Permalink
Scan plugins by default, but don’t scan node_modules or vendor as the…
Browse files Browse the repository at this point in the history
…y’re not our code
  • Loading branch information
darylldoyle committed Mar 19, 2024
1 parent 84906dc commit 1594a9b
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion phpcs.xml
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,9 @@
<file>./mu-plugins/*</file>

<!-- Don't scan these directories -->
<exclude-pattern>node_modules/</exclude-pattern>
<exclude-pattern>vendor/</exclude-pattern>
<exclude-pattern>dist/</exclude-pattern>
<exclude-pattern>./plugins/*</exclude-pattern>

<rule ref="10up-Default" />

Expand Down

0 comments on commit 1594a9b

Please sign in to comment.