mirror of
https://gh.wpcy.net/https://github.com/wp-cli/scaffold-command.git
synced 2026-05-01 05:33:36 +08:00
17 lines
521 B
XML
17 lines
521 B
XML
<?xml version="1.0"?>
|
|
<ruleset name="WordPress Coding Standards for Plugins">
|
|
<description>Generally-applicable sniffs for WordPress plugins</description>
|
|
|
|
<rule ref="WordPress-Core" />
|
|
<rule ref="WordPress-Docs" />
|
|
|
|
<!-- Check all PHP files in directory tree by default. -->
|
|
<arg name="extensions" value="php"/>
|
|
<file>.</file>
|
|
|
|
<!-- Show progress and sniff codes in all reports -->
|
|
<arg value="ps"/>
|
|
|
|
<exclude-pattern>*/node_modules/*</exclude-pattern>
|
|
<exclude-pattern>*/vendor/*</exclude-pattern>
|
|
</ruleset>
|