HamroKhanpin/hamrokhaanpaan/wp-content/__plugins/top-10/phpcs.ruleset.xml

18 lines
611 B
XML
Raw Permalink Normal View History

2024-04-29 07:27:44 +00:00
<?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>