Address new lint issues from previous commit.

This commit is contained in:
David Anson 2025-10-28 22:13:27 -07:00
parent 3a3416f15e
commit 2d48be6694
3 changed files with 14 additions and 15 deletions

View file

@ -43,11 +43,10 @@ for (const rule of rules) {
`<a name="${name.toLowerCase()}"></a>`,
""
);
const section = [];
section.push(
const section = [
`## ${decorator}\`${name}\` - ${rule.description}${decorator}`,
""
);
];
if (deprecated) {
section.push(
"> This rule is deprecated and provided for backward-compatibility",