Make WordPress Core

Changeset 58107 for trunk/phpcs.xml.dist


Ignore:
Timestamp:
05/06/2024 06:35:46 PM (9 months ago)
Author:
johnbillion
Message:

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

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/phpcs.xml.dist

    r57829 r58107  
    106106    <!-- Themes except the twenty* themes. -->
    107107    <exclude-pattern>/src/wp-content/themes/(?!twenty)*</exclude-pattern>
     108
     109    <!-- Translation files. -->
     110    <exclude-pattern>/src/wp-content/languages/*</exclude-pattern>
    108111
    109112
Note: See TracChangeset for help on using the changeset viewer.