Skip to content

Commit

Permalink
exclude external libraries from code style checks.
Browse files Browse the repository at this point in the history
  • Loading branch information
anamarijapapic committed Dec 14, 2023
1 parent 024c298 commit 145019e
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions wordpress-plugin/phpcs.xml
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,9 @@
<exclude-pattern>*.css</exclude-pattern>
<exclude-pattern>*.js</exclude-pattern>

<!-- Exclude external dependencies - libraries from being checked. -->
<exclude-pattern>/libraries/*</exclude-pattern>

<!-- Exclude the Composer Vendor directory. -->
<exclude-pattern>*/vendor/*</exclude-pattern>
<exclude-pattern>*/oas-clients/*</exclude-pattern>
Expand Down

0 comments on commit 145019e

Please sign in to comment.