<?xml version="1.0"?>
<ruleset name="Themeisle">
    <description>Themeisle rules for PHP_CodeSnifferr</description>

    <file>.</file>

    <exclude-pattern>node_modules/*</exclude-pattern>
    <exclude-pattern>Gruntfile.js</exclude-pattern>
    <exclude-pattern>*.js</exclude-pattern>
    <exclude-pattern>*.css</exclude-pattern>
    <!--<exclude-pattern>*</exclude-pattern>-->
    <rule ref="WordPress-Core">
        <exclude name="Squiz.Commenting.FileComment.SpacingAfterComment" />
        <exclude name="Squiz.Commenting.FunctionComment.MissingParamTag" />
        <exclude name="Squiz.Commenting.InlineComment.InvalidEndChar" />
        <exclude name="Squiz.Commenting.InlineComment.NotCapital" />
        <exclude name="Squiz.PHP.Eval.Discouraged" />
        <exclude name="Generic.PHP.DisallowShortOpenTag" />
        <exclude name="WordPress.PHP.YodaConditions.NotYoda" />
    </rule>
    <rule ref="WordPress-Docs">

    </rule>

    <rule ref="Squiz.Commenting.FunctionComment.ScalarTypeHintMissing">
        <severity>0</severity>
    </rule>

</ruleset>