Created
March 20, 2015 15:42
-
-
Save mboynes/eeeac0d95a36a0ce51b2 to your computer and use it in GitHub Desktop.
WordPress Codesniffer ruleset starting point
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?xml version="1.0"?> | |
<ruleset name="WordPress Theme Coding Standards Configuration"> | |
<!-- Set a description for this ruleset. --> | |
<description>Code standard rules to check against a WordPress Theme.</description> | |
<exclude-pattern>tests/*</exclude-pattern> | |
<exclude-pattern>inc/cli.php</exclude-pattern> | |
<!-- Include the WordPress VIP ruleset --> | |
<rule ref="WordPress-VIP"> | |
</rule> | |
<rule ref="Generic.WhiteSpace.ScopeIndent.IncorrectExact"> | |
<type>warning</type> | |
</rule> | |
</ruleset> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment