mirror of
git://develop.git.wordpress.org/
synced 2025-01-16 20:38:35 +01:00
Build/Test Tools: Exclude PHP translation files from phpcs linting.
Translation files in this directory are automatically generated and are not subject to any linting considerations. See #59647 git-svn-id: https://develop.svn.wordpress.org/trunk@58107 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
186e04fcb6
commit
51b5552050
@ -49,6 +49,9 @@
|
|||||||
<!-- Exclude themes except the twenty* themes. -->
|
<!-- Exclude themes except the twenty* themes. -->
|
||||||
<exclude-pattern>/src/wp-content/themes/(?!twenty)*</exclude-pattern>
|
<exclude-pattern>/src/wp-content/themes/(?!twenty)*</exclude-pattern>
|
||||||
|
|
||||||
|
<!-- Exclude translation files. -->
|
||||||
|
<exclude-pattern>/src/wp-content/languages/*</exclude-pattern>
|
||||||
|
|
||||||
<!--
|
<!--
|
||||||
PHPCompatibilityParagonieSodiumCompat prevents false positives in `sodium_compat`.
|
PHPCompatibilityParagonieSodiumCompat prevents false positives in `sodium_compat`.
|
||||||
However, because these files are included in a non-standard path, false positives are triggered in WordPress Core.
|
However, because these files are included in a non-standard path, false positives are triggered in WordPress Core.
|
||||||
|
@ -106,6 +106,9 @@
|
|||||||
<!-- Themes except the twenty* themes. -->
|
<!-- Themes except the twenty* themes. -->
|
||||||
<exclude-pattern>/src/wp-content/themes/(?!twenty)*</exclude-pattern>
|
<exclude-pattern>/src/wp-content/themes/(?!twenty)*</exclude-pattern>
|
||||||
|
|
||||||
|
<!-- Translation files. -->
|
||||||
|
<exclude-pattern>/src/wp-content/languages/*</exclude-pattern>
|
||||||
|
|
||||||
|
|
||||||
<!--
|
<!--
|
||||||
#############################################################################
|
#############################################################################
|
||||||
|
Loading…
x
Reference in New Issue
Block a user