<?xml version="1.0"?>
<ruleset name="StoreBooster Plugin Coding Standards">
    <description>PHP_CodeSniffer rules for the StoreBooster WordPress plugin.</description>

    <!-- Scan all PHP files -->
    <file>./</file>

    <!-- Ignore paths -->
    <exclude-pattern>*/vendor/*</exclude-pattern>
    <exclude-pattern>*/node_modules/*</exclude-pattern>
    <exclude-pattern>*/assets/*</exclude-pattern>
    <exclude-pattern>*/dist/*</exclude-pattern>

    <!-- Use WordPress Coding Standards -->
    <rule ref="WordPress"/>
    
    <!-- Recommended additional checks -->
    <rule ref="WordPress-Extra"/>
    <rule ref="WordPress-Docs"/>
    <rule ref="WordPress-Core"/>

    <!-- Only check PHP files -->
    <arg name="extensions" value="php"/>

</ruleset>
