From 218db3042be34c49f180bfd6d287decf08205c22 Mon Sep 17 00:00:00 2001 From: Srijan Saurav <68371686+srijan-deepsource@users.noreply.github.com> Date: Mon, 30 May 2022 16:19:26 +0530 Subject: [PATCH] Revert "chore: update Rule typedefs (#15915)" This reverts commit 298d3fd556334f413fd8c3596661b7c5410008e1. --- lib/shared/types.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/shared/types.js b/lib/shared/types.js index 5d9a4e6cf26..0335423f284 100644 --- a/lib/shared/types.js +++ b/lib/shared/types.js @@ -136,6 +136,7 @@ module.exports = {}; /** * @typedef {Object} RuleMetaDocs + * @property {string} category The category of the rule. * @property {string} description The description of the rule. * @property {boolean} recommended If `true` then the rule is included in `eslint:recommended` preset. * @property {string} url The URL of the rule documentation. @@ -146,7 +147,6 @@ module.exports = {}; * @property {boolean} [deprecated] If `true` then the rule has been deprecated. * @property {RuleMetaDocs} docs The document information of the rule. * @property {"code"|"whitespace"} [fixable] The autofix type. - * @property {boolean} [hasSuggestions] If `true` then the rule provides suggestions. * @property {Record} [messages] The messages the rule reports. * @property {string[]} [replacedBy] The IDs of the alternative rules. * @property {Array|Object} schema The option schema of the rule.