forked from mirror/_s
Kick off better coding standards sweep. See #737
This commit is contained in:
parent
ea8c6f41a8
commit
2c21cdb7ae
|
@ -1,12 +1,13 @@
|
||||||
<?xml version="1.0"?>
|
<?xml version="1.0"?>
|
||||||
<ruleset name="Underscores WordPress Theme Coding Standards Configuration">
|
<ruleset name="WordPress Theme Coding Standards">
|
||||||
<!-- See https://github.com/squizlabs/PHP_CodeSniffer/wiki/Annotated-ruleset.xml -->
|
<!-- See https://github.com/squizlabs/PHP_CodeSniffer/wiki/Annotated-ruleset.xml -->
|
||||||
<!-- See https://github.com/WordPress-Coding-Standards/WordPress-Coding-Standards/blob/develop/WordPress-Core/ruleset.xml -->
|
<!-- See https://github.com/WordPress-Coding-Standards/WordPress-Coding-Standards/blob/develop/WordPress-Core/ruleset.xml -->
|
||||||
|
|
||||||
<!-- Set a description for this ruleset. -->
|
<!-- Set a description for this ruleset. -->
|
||||||
<description>A custom set of code standard rules to check for Underscores.</description>
|
<description>A custom set of code standard rules to check for WordPress themes.</description>
|
||||||
|
|
||||||
<!-- Include the WordPress ruleset, with exclusions. -->
|
<!-- Include the WordPress ruleset, with exclusions. -->
|
||||||
<rule ref="WordPress">
|
<rule ref="WordPress">
|
||||||
|
<exclude name="Generic.WhiteSpace.ScopeIndent.IncorrectExact" />
|
||||||
</rule>
|
</rule>
|
||||||
</ruleset>
|
</ruleset>
|
Reference in New Issue