18 lines
611 B
XML
18 lines
611 B
XML
|
<?xml version="1.0"?>
|
||
|
<ruleset name="WordPress Coding Standards for Plugins">
|
||
|
<description>Generally-applicable sniffs for WordPress plugins</description>
|
||
|
|
||
|
<exclude-pattern>*/node_modules/*</exclude-pattern>
|
||
|
<exclude-pattern>*/vendor/*</exclude-pattern>
|
||
|
<exclude-pattern>*/tests/*</exclude-pattern>
|
||
|
<exclude-pattern>*/index.php</exclude-pattern>
|
||
|
|
||
|
<rule ref="WordPress" />
|
||
|
|
||
|
<!-- Add in some extra rules from other standards. -->
|
||
|
<rule ref="Generic.CodeAnalysis.UnusedFunctionParameter"/>
|
||
|
<rule ref="Generic.Commenting.Todo"/>
|
||
|
<rule ref="Generic.WhiteSpace.DisallowSpaceIndent.SpacesUsed"/>
|
||
|
|
||
|
</ruleset>
|