| 1 |
<?xml version="1.0"?> |
| 2 |
<ruleset name="WordPress Coding Standards for Plugins"> |
| 3 |
<description>Generally-applicable sniffs for WordPress plugins</description> |
| 4 |
|
| 5 |
<rule ref="WordPress-Core"> |
| 6 |
<exclude name="Generic.WhiteSpace.DisallowSpaceIndent"/> |
| 7 |
<exclude name="WordPress.Arrays.CommaAfterArrayItem"/> |
| 8 |
</rule> |
| 9 |
<rule ref="WordPress-Docs"/> |
| 10 |
|
| 11 |
<!-- Check all PHP files in directory tree by default. --> |
| 12 |
<arg name="extensions" value="php"/> |
| 13 |
<file>.</file> |
| 14 |
|
| 15 |
<!-- Show sniff codes in all reports --> |
| 16 |
<arg value="s"/> |
| 17 |
|
| 18 |
<exclude-pattern>*/assets/*</exclude-pattern> |
| 19 |
<exclude-pattern>*/build/*</exclude-pattern> |
| 20 |
<exclude-pattern>*/node_modules/*</exclude-pattern> |
| 21 |
<exclude-pattern>*/vendor/*</exclude-pattern> |
| 22 |
</ruleset> |
| 23 |
|