Prepare Underscores for Coding Standards. See https://github.com/Automattic/_s/issues/553.
This commit is contained in:
parent
e88ad83914
commit
895b7a93ab
4 changed files with 125 additions and 5 deletions
11
codesniffer.ruleset.xml
Normal file
11
codesniffer.ruleset.xml
Normal 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>
|
Loading…
Add table
Add a link
Reference in a new issue