function updateRuleTypeHeaders() {
	const { execFileSync } = require("node:child_process");

	// We don't need the stack trace of execFileSync if the command fails.
	try {
		execFileSync(process.execPath, ["tools/update-rule-type-headers.js"], {
			stdio: "inherit",
		});
	} catch {
		exit(1);
	}
}
Updates TSDoc header comments of all rule types.
@returns {void}