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 authored 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
Original file line number Diff line number Diff line change
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
Loading

0 comments on commit eb2279e

Please sign in to comment.