Skip to content

Commit

Permalink
Merge pull request #154 from bmish/deprecated-rule-name-code-style
Browse files Browse the repository at this point in the history
  • Loading branch information
bmish committed Oct 21, 2022
2 parents a0e9684 + 3d08140 commit 1297a5b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion lib/rule-notices.ts
Expand Up @@ -115,7 +115,7 @@ const RULE_NOTICES: {
*/
function ruleNamesToList(ruleNames: readonly string[]) {
return ruleNames
.map((ruleName) => `[${ruleName}](${ruleName}.md)`)
.map((ruleName) => `[\`${ruleName}\`](${ruleName}.md)`)
.join(', ');
}

Expand Down
2 changes: 1 addition & 1 deletion test/lib/__snapshots__/generator-test.ts.snap
Expand Up @@ -203,7 +203,7 @@ exports[`generator #generate deprecated rules updates the documentation 1`] = `
exports[`generator #generate deprecated rules updates the documentation 2`] = `
"# Description (\`test/no-foo\`)
❌ This rule is deprecated. It was replaced by [no-bar](no-bar.md).
❌ This rule is deprecated. It was replaced by [\`no-bar\`](no-bar.md).
<!-- end rule header -->
"
Expand Down

0 comments on commit 1297a5b

Please sign in to comment.