| 1 |
<?xml version="1.0"?> |
| 2 |
<ruleset name="google-tag-manager"> |
| 3 |
<description>WPCS config for google-tag-manager.</description> |
| 4 |
|
| 5 |
<file>./</file> |
| 6 |
|
| 7 |
<exclude-pattern>*/vendor/*</exclude-pattern> |
| 8 |
<exclude-pattern>*/node_modules/*</exclude-pattern> |
| 9 |
|
| 10 |
<rule ref="WordPress-Extra"/> |
| 11 |
<rule ref="WordPress-Docs"/> |
| 12 |
|
| 13 |
<!-- Single-file plugin; the plugin bootstrap and class live in the same file, |
| 14 |
so the class-*.php filename convention cannot be followed. --> |
| 15 |
<rule ref="WordPress.Files.FileName.InvalidClassFileName"> |
| 16 |
<exclude-pattern>*/google-tag-manager.php</exclude-pattern> |
| 17 |
</rule> |
| 18 |
|
| 19 |
<config name="minimum_supported_wp_version" value="5.0"/> |
| 20 |
<config name="testVersion" value="7.4-"/> |
| 21 |
|
| 22 |
<arg value="ps"/> |
| 23 |
<arg name="colors"/> |
| 24 |
<arg name="extensions" value="php"/> |
| 25 |
</ruleset> |
| 26 |
|