<?xml version="1.0"?>
<ruleset name="Olena Food Ordering">
	<description>Coding standards for the Olena Food Ordering plugin.</description>

	<!-- Scan the plugin source, skip build/vendor/third-party assets. -->
	<file>.</file>
	<exclude-pattern>*/vendor/*</exclude-pattern>
	<exclude-pattern>*/node_modules/*</exclude-pattern>
	<exclude-pattern>*/assets/*</exclude-pattern>
	<exclude-pattern>*/build/*</exclude-pattern>

	<rule ref="WordPress"/>

	<!-- All globals (functions, constants, hooks) are prefixed with "vajofo" / "VAJOFO". -->
	<rule ref="WordPress.NamingConventions.PrefixAllGlobals">
		<properties>
			<property name="prefixes" type="array">
				<element value="vajofo"/>
				<element value="VAJOFO"/>
			</property>
		</properties>
	</rule>

	<!-- Declared text domain. -->
	<rule ref="WordPress.WP.I18n">
		<properties>
			<property name="text_domain" type="array">
				<element value="olena-food-ordering"/>
			</property>
		</properties>
	</rule>
</ruleset>
