<?xml version="1.0"?>
<ruleset name="WordPress Theme">
	<!-- For more information: https://make.wordpress.org/themes/handbook/review/ -->
	<description>Standards any Theme to be published on wordpress.org should comply with.</description>

	<rule ref="WordPress.Theme"/>

	<!-- No PHP short open tags allowed. -->
	<!-- Covers: https://github.com/Otto42/theme-check/blob/master/checks/phpshort.php -->
	<rule ref="Generic.PHP.DisallowShortOpenTag" />

	<!-- Only UNIX line endings allowed. -->
	<!-- Covers: https://github.com/Otto42/theme-check/blob/master/checks/lineendings.php -->
	<rule ref="Generic.Files.LineEndings">
		<properties>
			<property name="eolChar" value="\n"/>
		</properties>
	</rule>


	<!-- No ByteOrderMark allowed - important to prevent issues with content being sent before headers. -->
	<rule ref="Generic.Files.ByteOrderMark" />


	<!-- Check that the I18N functions are used correctly. -->
	<!-- This sniff can also check the text domain, provided it's passed to PHPCS. -->
	<rule ref="WordPress.WP.I18n" />

</ruleset>

<?xml version="1.0"?>
<ruleset name="WordPress Theme">
	<!-- For more information: https://make.wordpress.org/themes/handbook/review/ -->
	<description>Standards any Theme to be published on wordpress.org should comply with.</description>

	<rule ref="WordPress.Theme"/>

	<!-- No PHP short open tags allowed. -->
	<!-- Covers: https://github.com/Otto42/theme-check/blob/master/checks/phpshort.php -->
	<rule ref="Generic.PHP.DisallowShortOpenTag" />

	<!-- Only UNIX line endings allowed. -->
	<!-- Covers: https://github.com/Otto42/theme-check/blob/master/checks/lineendings.php -->
	<rule ref="Generic.Files.LineEndings">
		<properties>
			<property name="eolChar" value="\n"/>
		</properties>
	</rule>


	<!-- No ByteOrderMark allowed - important to prevent issues with content being sent before headers. -->
	<rule ref="Generic.Files.ByteOrderMark" />


	<!-- Check that the I18N functions are used correctly. -->
	<!-- This sniff can also check the text domain, provided it's passed to PHPCS. -->
	<rule ref="WordPress.WP.I18n" />

	<!-- No hard coding of scripts and styles. Everything should be enqueued. -->
	<rule ref="WordPress.WP.EnqueuedResources" />

</ruleset>

Add sniff to verify that scripts and styles are enqueued.
Add sniff to verify that scripts and styles are enqueued.
