Merge pull request #1122 from jrfnl/feature/wpcs-allow-theme-specific-filenames

WPCS: Allow for typical theme specific file names based on the theme hierarchy
This commit is contained in:
David A. Kennedy 2017-06-17 16:27:58 +02:00 committed by GitHub
commit 1f9ad8893d
1 changed files with 8 additions and 0 deletions

View File

@ -37,6 +37,14 @@
</properties>
</rule>
<!-- Allow for theme specific exceptions to the file name rules based
on the theme hierarchy. -->
<rule ref="WordPress.Files.FileName">
<properties>
<property name="is_theme" value="true" />
</properties>
</rule>
<!-- Include sniffs for PHP cross-version compatibility. -->
<config name="testVersion" value="5.2-99.0"/>
<rule ref="PHPCompatibility"/>