<?xml version="1.0" encoding="UTF-8"?>
<ruleset name="drupal-project">
  <rule ref="vendor/drupal/coder/coder_sniffer/Drupal/ruleset.xml"/>

  <!-- Ignore files -->
  <exclude-pattern>*/dist/*\.(css|js)$</exclude-pattern>
  <exclude-pattern>*/js/*\.js$</exclude-pattern>
  <exclude-pattern>*/webpack.config.js</exclude-pattern>

  <!-- Add tests for .theme files -->
  <arg name="extensions" value="php,module,inc,install,test,profile,theme,info,txt,md,yml"/>
</ruleset>
