Prepare Underscores for Coding Standards. See https://github.com/Automattic/_s/issues/553.

This commit is contained in:
Philip Arthur Moore 2014-08-17 23:40:13 +07:00
parent e88ad83914
commit 895b7a93ab
4 changed files with 125 additions and 5 deletions

11
codesniffer.ruleset.xml Normal file
View file

@ -0,0 +1,11 @@
<?xml version="1.0"?>
<ruleset name="Underscores WordPress Theme Coding Standards Configuration">
<!-- Set a description for this ruleset. -->
<description>A custom set of code standard rules to check for Underscores.</description>
<!-- Include the WordPress ruleset, with exclusions. -->
<rule ref="WordPress">
<exclude name="WordPress.XSS.EscapeOutput" />
<exclude name="WordPress.WhiteSpace.ScopeIndent.Incorrect" />
</rule>
</ruleset>