<?xml version="1.0" encoding="UTF-8"?>
<!--
  Drupal coding standards for the Shortloop custom code. Run from sources/
  with `vendor/bin/phpcs`. A local phpcs.xml, ignored by git, can override it.
-->
<ruleset name="shortloop">
  <description>Drupal and DrupalPractice standards on the custom code.</description>

  <file>web/modules/custom</file>
  <file>web/themes/custom</file>
  <file>tests/src</file>
  <file>scripts</file>

  <arg name="extensions" value="php,module,inc,install,test,theme,info,yml"/>
  <arg name="colors"/>
  <arg value="sp"/>

  <exclude-pattern>*/node_modules/*</exclude-pattern>
  <exclude-pattern>*/vendor/*</exclude-pattern>

  <rule ref="Drupal"/>
  <rule ref="DrupalPractice"/>
</ruleset>
