scripts/update-readme.js
function renderRule(rule) {
    const mark = `${rule.recommended ? "⭐️" : ""}${rule.fixable ? "✒️" : ""}`
    const link = `[${rule.id}](./docs/rules/${rule.name}.md)`
    const description = rule.description || "(no description)"
    return `| ${link} | ${description} | ${mark} |`
}
function renderRule(rule) {
    const mark = `${rule.recommended ? "⭐️" : ""}${rule.fixable ? "✒️" : ""}`
    const link = `[${rule.id}](./docs/rules/${rule.name}.md)`
    const description = rule.description || "(no description)"
    return `| ${link} | ${description} | ${mark} |`
}
function renderRule ( rule ) { const mark = ` ${ rule . recommended ? "⭐️" : " } {r u le .fix a ble ? " ️  : ""}` const link = ` ${ rule . id } ${ rule . name } ` const description = rule . description || "(no description)" return ` ${ link } ${ description } ${ mark } ` }
Render a given rule as a table row.
@param {RuleInfo} rule The rule information.
@returns {string} The table row.
Render a given rule as a table row .