Skip to content

Commit 6cd1f7d

Browse files
committed
Build/Test Tools: Exclude gutenberg directory when running PHPCS.
The relevant files will be scanned within `src` (provided the build script has been run). See #64394. git-svn-id: https://develop.svn.wordpress.org/trunk@61726 602fd350-edb4-49c9-b593-d223f7449a82
1 parent 9b89603 commit 6cd1f7d

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

phpcs.xml.dist

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,9 @@
4242
<!-- Exclude the build folder in the current directory. -->
4343
<exclude-pattern type="relative">^build/*</exclude-pattern>
4444

45+
<!-- Exclude the local copy of the Gutenberg repository. -->
46+
<exclude-pattern>/gutenberg/*</exclude-pattern>
47+
4548
<!-- Directories and third party library exclusions. -->
4649
<exclude-pattern>/node_modules/*</exclude-pattern>
4750
<exclude-pattern>/vendor/*</exclude-pattern>

0 commit comments

Comments
 (0)