function assertIsRuleOptions(ruleId, value) {
	if (
		typeof value !== "string" &&
		typeof value !== "number" &&
		!Array.isArray(value)
	) {
		throw new InvalidRuleOptionsError(ruleId, value);
	}
}
Validates that a value is a valid rule options entry.
@param {string} ruleId Rule name being configured.
@param {any} value The value to check.
@returns {void}
@throws {InvalidRuleOptionsError} If the value isn't a valid rule options.