20 lines
905 B
XML
20 lines
905 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">
|
|
<exclude name="Squiz.Commenting.FunctionCommentThrowTag.Missing" />
|
|
<exclude name="Squiz.Commenting.LongConditionClosingComment.Missing" />
|
|
<exclude name="WordPress.NamingConventions.ValidVariableName.NotSnakeCaseMemberVar" />
|
|
<exclude name="WordPress.NamingConventions.ValidFunctionName.FunctionNameInvalid" />
|
|
<exclude name="WordPress.Files.FileName.InvalidClassFileName" />
|
|
</rule>
|
|
|
|
<exclude-pattern>/woo-includes/*</exclude-pattern>
|
|
<exclude-pattern>/tests/*</exclude-pattern>
|
|
<exclude-pattern>*/node_modules/*</exclude-pattern>
|
|
<exclude-pattern>*/vendor/*</exclude-pattern>
|
|
<exclude-pattern>*.js</exclude-pattern>
|
|
<exclude-pattern>*.css</exclude-pattern>
|
|
</ruleset>
|