Skip to content

Commit

Permalink
docs: display info about deprecated rules (#17749)
Browse files Browse the repository at this point in the history
  • Loading branch information
kecrily committed Nov 13, 2023
1 parent 6d470d2 commit eb2279e
Show file tree
Hide file tree
Showing 4 changed files with 294 additions and 98 deletions.
4 changes: 3 additions & 1 deletion Makefile.js
Expand Up @@ -216,7 +216,9 @@ function generateRuleIndexPage() {
if (rule.meta.deprecated) {
ruleTypesData.deprecated.push({
name: basename,
replacedBy: rule.meta.replacedBy || []
replacedBy: rule.meta.replacedBy || [],
fixable: !!rule.meta.fixable,
hasSuggestions: !!rule.meta.hasSuggestions
});
} else {
const output = {
Expand Down

0 comments on commit eb2279e

Please sign in to comment.