async function formatTableRowFromFilename(ruleFilename) {
	const ruleURL = new URL(ruleFilename, rulesDirURL);
	const { default: rule } = await import(ruleURL);
	const ruleName = path.parse(ruleFilename).name;
	const { description, recommended } = rule.meta.docs;
	const ruleLink = `[\`${ruleName}\`](./docs/rules/${ruleName}.md)`;
	const recommendedText = recommended ? "yes" : "no";

	return `| ${ruleLink} | ${description} | ${recommendedText} |`;
}
Formats a table row from a rule filename.
@param {string} ruleFilename The filename of the rule module without directory.
@returns {Promise<string>} The formatted markdown text of the table row.