summaryrefslogtreecommitdiffstatshomepage
path: root/phpcs.xml.dist
diff options
context:
space:
mode:
authorJohn Blackbourn <johnbillion@git.wordpress.org>2024-05-06 18:35:46 +0000
committerJohn Blackbourn <johnbillion@git.wordpress.org>2024-05-06 18:35:46 +0000
commit51b5552050e88d0b3cba759787eb341c0c50a1ae (patch)
tree3df64dd0f722827d1f90e5711f59c03c9e0510f2 /phpcs.xml.dist
parent186e04fcb69906952954dd661072716750cda3a8 (diff)
downloadwordpress-51b5552050e88d0b3cba759787eb341c0c50a1ae.tar.gz
wordpress-51b5552050e88d0b3cba759787eb341c0c50a1ae.zip
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
Diffstat (limited to 'phpcs.xml.dist')
-rw-r--r--phpcs.xml.dist3
1 files changed, 3 insertions, 0 deletions
diff --git a/phpcs.xml.dist b/phpcs.xml.dist
index 04731abf64..ece1c82386 100644
--- a/phpcs.xml.dist
+++ b/phpcs.xml.dist
@@ -106,6 +106,9 @@
<!-- Themes except the twenty* themes. -->
<exclude-pattern>/src/wp-content/themes/(?!twenty)*</exclude-pattern>
+ <!-- Translation files. -->
+ <exclude-pattern>/src/wp-content/languages/*</exclude-pattern>
+
<!--
#############################################################################