function checkMetaValidity(context, exportsNode) {
	const metaProperty = getMetaPropertyFromExportsNode(exportsNode);

	if (!metaProperty) {
		context.report({ node: exportsNode, messageId: "missingMeta" });
		return;
	}

	if (!hasMetaDocs(metaProperty)) {
		context.report({ node: metaProperty, messageId: "missingMetaDocs" });
		return;
	}

	if (!hasMetaDocsRecommended(metaProperty)) {
		context.report({
			node: metaProperty,
			messageId: "missingMetaDocsRecommended",
		});
	}
}
Checks the validity of the meta definition of this rule and reports any errors found.
@param {RuleContext} context The ESLint rule context.
@param {ASTNode} exportsNode ObjectExpression node that the rule exports.
@returns {void}